eZ\Publish\Core\Persistence\Legacy\Tests\Content\Type\UpdateHandler\DoctrineDatabaseTest::getGatewayMock PHP Method

getGatewayMock() protected method

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