Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
40 | public function testLoadTemplate($rootDir, $templatePath) |
||
41 | { |
||
42 | $this->container->getParameterBag()->add(array('kernel.root_dir' => $rootDir)); |
||
43 | $this->extension->load(array(), $this->container); |
||
44 | $this->assertTrue($this->container->has('breadcrumbs_builder')); |
||
45 | $this->assertEquals($templatePath, $this->container->getParameter('breadcrumbs_template')); |
||
46 | } |
||
47 | |||
61 |