public function testFactoryThrowExceptionForUnknowFilterName()
{
$this->setExpectedException('\\RuntimeException', 'There is no filter for the name "css_filter" registered.');
$factory = new Factory();
$factory->createBundle(array('css_filter' => 'css_filter'));
}