| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | public function testRegister() |
||
| 17 | { |
||
| 18 | $provider = new CacheServiceProvider(); |
||
| 19 | $provider->initContainer(); |
||
| 20 | $provider->register(); |
||
| 21 | |||
| 22 | $filesystem = $provider->getContainer()->get('cache'); |
||
| 23 | self::assertInstanceOf(CacheManager::class, $filesystem); |
||
| 24 | |||
| 25 | $store = $provider->getContainer()->get('cache.store'); |
||
| 26 | self::assertInstanceOf(Repository::class, $store); |
||
| 27 | } |
||
| 29 |