eZ\Publish\Core\MVC\Symfony\Templating\Tests\Twig\Extension\FileSizeExtensionTest::getConfigResolverInterfaceMock PHP Method

getConfigResolverInterfaceMock() protected method

protected getConfigResolverInterfaceMock ( ) : eZ\Publish\Core\MVC\ConfigResolverInterface | PHPUnit_Framework_MockObject_MockObject
return eZ\Publish\Core\MVC\ConfigResolverInterface | PHPUnit_Framework_MockObject_MockObject
    protected function getConfigResolverInterfaceMock()
    {
        $configResolverInterfaceMock = $this->getMock('eZ\\Publish\\Core\\MVC\\ConfigResolverInterface');
        $configResolverInterfaceMock->expects($this->any())->method('getParameter')->with('languages')->will($this->returnValue($this->getLocale()));
        return $configResolverInterfaceMock;
    }