| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 15 | 
| Code Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 16 | public function testInterface() | ||
| 17 |     { | ||
| 18 | $volume = new Volume( | ||
| 19 |             $mount = new MountPoint('/'), | ||
| 20 | $size = new Bytes(42), | ||
| 21 | $available = new Bytes(42), | ||
| 22 | $used = new Bytes(42), | ||
| 23 | $usage = new Usage(100) | ||
| 24 | ); | ||
| 25 | |||
| 26 | $this->assertSame($mount, $volume->mountPoint()); | ||
| 27 | $this->assertSame($size, $volume->size()); | ||
| 28 | $this->assertSame($available, $volume->available()); | ||
| 29 | $this->assertSame($used, $volume->used()); | ||
| 30 | $this->assertSame($usage, $volume->usage()); | ||
| 31 | } | ||
| 33 |