| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 12 |
| Ratio | 100 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | /** |
||
| 38 | * @dataProvider getData |
||
| 39 | */ |
||
| 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 | |||
| 48 | /** |
||
| 49 | * Get data provider |
||
| 61 |