public function testSetSiteAccessNull()
{
$matcherServiceIdentifier = 'my.matcher.service';
$resolverMock = $this->getMock('eZ\\Publish\\Core\\MVC\\ConfigResolverInterface');
$container = $this->getMock('Symfony\\Component\\DependencyInjection\\ContainerInterface');
$resolverMock->expects($this->once())->method('getParameter')->with('content_view')->will($this->returnValue(array('full' => array('matchRule' => array('template' => 'my_template.html.twig', 'match' => array($matcherServiceIdentifier => 'someValue'))))));
$matcherFactory = new ContentMatcherFactory($resolverMock, $this->getMock('eZ\\Publish\\API\\Repository\\Repository'));
$matcherFactory->setContainer($container);
$matcherFactory->setSiteAccess();
}