| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public function testHasReturnsBoolean() |
||
| 17 | { |
||
| 18 | $this->cache->putCache('bool_key', 'value'); |
||
| 19 | $this->assertTrue($this->cache->has('bool_key')); |
||
| 20 | $this->assertTrue($this->cache->isSuccess()); |
||
| 21 | |||
| 22 | $this->assertFalse($this->cache->has('unknown_key')); |
||
| 23 | $this->assertFalse($this->cache->isSuccess()); |
||
| 24 | } |
||
| 34 |