public function DynamicRouterTest::testGetMatcher in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony-cmf/routing/Tests/Routing/DynamicRouterTest.php \Symfony\Cmf\Component\Routing\Tests\Routing\DynamicRouterTest::testGetMatcher()
File
- vendor/
symfony-cmf/ routing/ Tests/ Routing/ DynamicRouterTest.php, line 128
Class
Namespace
Symfony\Cmf\Component\Routing\Tests\RoutingCode
public function testGetMatcher() {
$this->matcher
->expects($this
->once())
->method('setContext')
->with($this
->equalTo($this->context));
$matcher = $this->router
->getMatcher();
$this
->assertInstanceOf('Symfony\\Component\\Routing\\Matcher\\UrlMatcherInterface', $matcher);
$this
->assertSame($this->matcher, $matcher);
}