Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public function testIsDebug($value, $debug) |
||
20 | { |
||
21 | $container = new Container(); |
||
22 | Container::setInstance($container); |
||
23 | |||
24 | $config = new Config(['app' => ['debug' => $value]]); |
||
25 | $container->set('config', $config); |
||
26 | |||
27 | $handler = new Handler($container); |
||
28 | self::assertSame($debug, $handler->isDebug()); |
||
29 | } |
||
48 |