| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | public function testCreateAdapterReturnsAdapter() |
||
| 26 | { |
||
| 27 | /** @var FileDriverOptionsProviderInterface $optionsProvider */ |
||
| 28 | $optionsProvider = $this->getMockBuilder(FileDriverOptionsProviderInterface::class) |
||
| 29 | ->setMethods(['getOptions']) |
||
| 30 | ->getMock(); |
||
| 31 | $factory = new FileCacheAdapterFactory($optionsProvider); |
||
| 32 | $this->assertInstanceOf(CacheAdapterInterface::class, $factory->createAdapter()); |
||
| 33 | } |
||
| 35 |