DotsUnited\BundleFu\Tests\FactoryTest::testFactoryThrowExceptionForUnknowFilterName PHP Méthode

testFactoryThrowExceptionForUnknowFilterName() public méthode

    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'));
    }