eZ\Publish\Core\Repository\Tests\Service\Mock\ContentTest::getContentTypeServiceMock PHP Method

getContentTypeServiceMock() protected method

protected getContentTypeServiceMock ( ) : PHPUnit_Framework_MockObject_MockObject | eZ\Publish\API\Repository\ContentTypeService
return PHPUnit_Framework_MockObject_MockObject | eZ\Publish\API\Repository\ContentTypeService
    protected function getContentTypeServiceMock()
    {
        if (!isset($this->contentTypeServiceMock)) {
            $this->contentTypeServiceMock = $this->getMockBuilder('eZ\\Publish\\API\\Repository\\ContentTypeService')->disableOriginalConstructor()->getMock();
        }
        return $this->contentTypeServiceMock;
    }
ContentTest