Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
11 | public function testEntity() |
||
12 | { |
||
13 | $filename = __FILE__; |
||
14 | $entity = new FileSnapshot($filename); |
||
15 | |||
16 | $this->assertEquals(basename($filename), $entity->id()); |
||
17 | $this->assertEquals($filename, $entity->path()); |
||
18 | $this->assertInstanceOf(FileTimestamp::class, $entity->timestamp()); |
||
19 | } |
||
20 | } |