public function testMatchRequestRegularPathinfo()
{
$matchedParameters = array('_controller' => 'AcmeBundle:myAction');
$pathinfo = '/siteaccess/foo/bar';
$request = Request::create($pathinfo);
$this->configResolver->expects($this->never())->method('getParameter');
/** @var \PHPUnit_Framework_MockObject_MockObject|DefaultRouter $router */
$router = $this->generateRouter(array('match'));
$router->expects($this->once())->method('match')->with($pathinfo)->will($this->returnValue($matchedParameters));
$this->assertSame($matchedParameters, $router->matchRequest($request));
}