| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 14 | class SectionsManagerTest extends AbstractTest |
||
| 15 | { |
||
| 16 | public function test_loadFromConfig() |
||
| 17 | { |
||
| 18 | $this->prepareConfig(); |
||
| 19 | $manager = new SectionsManager(); |
||
| 20 | |||
| 21 | self::assertCount(3, $manager->getSections()); |
||
| 22 | } |
||
| 23 | |||
| 24 | public function test_visibleIn() |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $file |
||
| 35 | */ |
||
| 36 | protected function prepareConfig($file = 'basic') |
||
| 43 |