| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | public function testStoreItem() |
||
| 26 | { |
||
| 27 | $pool = $this->getMockBuilder(PoolInterface::class) |
||
| 28 | ->getMock(); |
||
| 29 | $pool->expects($this->once()) |
||
| 30 | ->method('save'); |
||
| 31 | |||
| 32 | $item = $this->getMockBuilder(ItemInterface::class) |
||
| 33 | ->getMock(); |
||
| 34 | |||
| 35 | $cacheAdapter = new CacheAdapter($pool); |
||
| 36 | $cacheAdapter->store($item); |
||
| 37 | } |
||
| 58 |