You are here

public function RouteTest::testInvalidRouteParameter in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/routing/Tests/Annotation/RouteTest.php \Symfony\Component\Routing\Tests\Annotation\RouteTest::testInvalidRouteParameter()

@expectedException \BadMethodCallException

File

vendor/symfony/routing/Tests/Annotation/RouteTest.php, line 21

Class

RouteTest

Namespace

Symfony\Component\Routing\Tests\Annotation

Code

public function testInvalidRouteParameter() {
  $route = new Route(array(
    'foo' => 'bar',
  ));
}