Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function testLoadFromIncludedPhp() |
||
17 | { |
||
18 | $collection = new RouteCollection(); |
||
19 | $collection->loadFromIncludedPhp( |
||
20 | TEST_FIXTURE_PATH . '/application/routes/web.php' |
||
21 | ); |
||
22 | |||
23 | self::assertCount(4, $collection); |
||
24 | self::assertInstanceOf(LiteralRoute::class, $collection->get('default.index')); |
||
25 | self::assertInstanceOf(StandardRoute::class, $collection->get('default.standard')); |
||
26 | } |
||
27 | } |
||
28 |