eZ\Publish\Core\Persistence\Legacy\Tests\Content\Language\LanguageHandlerTest::getGatewayMock PHP Method

getGatewayMock() protected method

Returns a mock for the language gateway.
protected getGatewayMock ( ) : Gateway
return eZ\Publish\Core\Persistence\Legacy\Content\Language\Gateway
    protected function getGatewayMock()
    {
        if (!isset($this->gatewayMock)) {
            $this->gatewayMock = $this->getMockForAbstractClass('eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\Language\\Gateway');
        }
        return $this->gatewayMock;
    }