Inheritance: extends eZ\Publish\Core\MVC\Symfony\SiteAccess\MatcherBuilder
 /**
  * @covers eZ\Bundle\EzPublishCoreBundle\SiteAccess\MatcherBuilder::__construct
  * @covers eZ\Bundle\EzPublishCoreBundle\SiteAccess\MatcherBuilder::buildMatcher
  */
 public function testBuildMatcherService()
 {
     $serviceId = 'foo';
     $matcher = $this->getMock('eZ\\Bundle\\EzPublishCoreBundle\\SiteAccess\\Matcher');
     $this->container->expects($this->once())->method('get')->with($serviceId)->will($this->returnValue($matcher));
     $matchingConfig = array('foo' => 'bar');
     $request = new SimplifiedRequest();
     $matcher->expects($this->once())->method('setMatchingConfiguration')->with($matchingConfig);
     $matcher->expects($this->once())->method('setRequest')->with($request);
     $matcherBuilder = new MatcherBuilder($this->container);
     $matcherBuilder->buildMatcher("@{$serviceId}", $matchingConfig, $request);
 }