Inheritance: extends Symfony\Component\Config\Loader\Loader
 /**
  * Tests generating the "contao_index" route with missing locale.
  *
  * @expectedException \Symfony\Component\Routing\Exception\MissingMandatoryParametersException
  */
 public function testGenerateIndexWithMissingLocale()
 {
     $loader = new FrontendLoader(true);
     $collection = $loader->load('.', 'bundles');
     $router = $this->getRouter($collection);
     $router->generate('contao_index');
 }