public function DynamicRouterTest::testGetMatcher 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::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);
}