eZ\Publish\Core\Persistence\Legacy\Tests\TransactionHandlerTest::getContentTypeHandlerMock PHP Method

getContentTypeHandlerMock() protected method

Returns a mock object for the Content Type Handler.
protected getContentTypeHandlerMock ( ) : MemoryCachingHandler | PHPUnit_Framework_MockObject_MockObject
return eZ\Publish\Core\Persistence\Legacy\Content\Type\MemoryCachingHandler | PHPUnit_Framework_MockObject_MockObject
    protected function getContentTypeHandlerMock()
    {
        if (!isset($this->contentTypeHandlerMock)) {
            $this->contentTypeHandlerMock = $this->getMock('eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\Type\\MemoryCachingHandler', array(), array(), '', false);
        }
        return $this->contentTypeHandlerMock;
    }