Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class ArrayConfigTest extends TestCase |
||
16 | { |
||
17 | public function testLoadConfig() |
||
18 | { |
||
19 | $arrayConfig = new ArrayConfig; |
||
20 | $config = $arrayConfig->readConfig( |
||
21 | $this->getEventFileConfigPath() |
||
22 | ); |
||
23 | |||
24 | $this->assertEquals(include $this->getEventFileConfigPath(), $config); |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * config data for test from file |
||
29 | * |
||
30 | * @return string |
||
31 | */ |
||
32 | public function getEventFileConfigPath() |
||
35 | } |
||
36 | } |
||
37 |