Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function testNullHandler(): void |
||
20 | { |
||
21 | $handler = new NullHandler(); |
||
22 | |||
23 | $this->assertTrue($handler->destroy('abc')); |
||
24 | $this->assertTrue($handler->gc(1)); |
||
25 | $this->assertTrue($handler->open('path', 1)); |
||
26 | $this->assertSame('', $handler->read('')); |
||
27 | $this->assertTrue($handler->write('abc', 'data')); |
||
28 | $this->assertTrue($handler->close()); |
||
29 | } |
||
31 |