Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | |||
16 | public function test_init_flagsCache() |
||
17 | { |
||
18 | $manager = MappingManager::instance(); |
||
19 | $manager->needsCaching(false); |
||
20 | self::assertFalse($manager->needsCaching()); |
||
21 | |||
22 | $books = Books::instance(); |
||
23 | MappingManager::for($books); |
||
24 | self::assertTrue($manager->needsCaching()); |
||
25 | } |
||
26 | } |
||
27 |