protected function getResolverMock($matcherServiceIdentifier)
{
$resolverMock = $this->getMock('eZ\\Publish\\Core\\MVC\\ConfigResolverInterface');
$resolverMock->expects($this->atLeastOnce())->method('getParameter')->with($this->logicalOr('location_view', 'content_view', 'block_view'))->will($this->returnValue(array('full' => array('matchRule' => array('template' => 'my_template.html.twig', 'match' => array($matcherServiceIdentifier => 'someValue'))), 'block' => array('matchRule' => array('template' => 'my_template.html.twig', 'match' => array($matcherServiceIdentifier => 'someValue'))))));
return $resolverMock;
}