public function DynamicRouterTest::testSupports in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/Tests/Routing/DynamicRouterTest.php \Symfony\Cmf\Component\Routing\Tests\Routing\DynamicRouterTest::testSupports()
File
- vendor/
symfony-cmf/ routing/ Tests/ Routing/ DynamicRouterTest.php, line 104
Class
Namespace
Symfony\Cmf\Component\Routing\Tests\RoutingCode
public function testSupports() {
$name = 'foo/bar';
$this->generator
->expects($this
->once())
->method('supports')
->with($this
->equalTo($name))
->will($this
->returnValue(true));
$this
->assertTrue($this->router
->supports($name));
}