public function ControllerResolverTest::testGetControllerOnNonUndefinedFunction in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/Controller/ControllerResolverTest.php \Symfony\Component\HttpKernel\Tests\Controller\ControllerResolverTest::testGetControllerOnNonUndefinedFunction()
@dataProvider getUndefinedControllers @expectedException \InvalidArgumentException
File
- vendor/
symfony/ http-kernel/ Tests/ Controller/ ControllerResolverTest.php, line 116
Class
Namespace
Symfony\Component\HttpKernel\Tests\ControllerCode
public function testGetControllerOnNonUndefinedFunction($controller) {
$resolver = $this
->createControllerResolver();
$request = Request::create('/');
$request->attributes
->set('_controller', $controller);
$resolver
->getController($request);
}