public function RouteTest::testRouteParameters in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/routing/Tests/Annotation/RouteTest.php \Symfony\Component\Routing\Tests\Annotation\RouteTest::testRouteParameters()
@dataProvider getValidParameters
File
- vendor/
symfony/ routing/ Tests/ Annotation/ RouteTest.php, line 29
Class
Namespace
Symfony\Component\Routing\Tests\AnnotationCode
public function testRouteParameters($parameter, $value, $getter) {
$route = new Route(array(
$parameter => $value,
));
$this
->assertEquals($route
->{$getter}(), $value);
}