Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
41 | public function testClear(array $data): void |
||
42 | { |
||
43 | $idGenerator = new DebuggerIdGenerator(); |
||
44 | $storage = $this->getStorage($idGenerator); |
||
45 | $collector = $this->createFakeCollector($data); |
||
46 | |||
47 | $storage->addCollector($collector); |
||
48 | $storage->flush(); |
||
49 | $storage->clear(); |
||
50 | $this->assertDirectoryDoesNotExist($this->path); |
||
51 | } |
||
62 |