Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
46 | public function testDetector(array $expectArray = []) : void |
||
47 | { |
||
48 | /* setup */ |
||
49 | |||
50 | new Bootstrap\Detector($this->_registry, $this->_request); |
||
51 | |||
52 | /* actual */ |
||
53 | |||
54 | $actualArray = |
||
55 | [ |
||
56 | 'language' => $this->_registry->get('language'), |
||
57 | 'template' => $this->_registry->get('template') |
||
58 | ]; |
||
59 | |||
60 | /* compare */ |
||
61 | |||
62 | $this->assertEquals($expectArray, $actualArray); |
||
63 | } |
||
64 | } |
||
65 |