eZ\Publish\Core\Persistence\Legacy\Tests\TransactionHandlerTest::getContentTypeHandlerMock PHP 메소드

getContentTypeHandlerMock() 보호된 메소드

Returns a mock object for the Content Type Handler.
protected getContentTypeHandlerMock ( ) : MemoryCachingHandler | PHPUnit_Framework_MockObject_MockObject
리턴 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;
    }