eZ\Publish\Core\Repository\Tests\Service\Mock\ContentTest::getContentTypeServiceMock PHP 메소드

getContentTypeServiceMock() 보호된 메소드

protected getContentTypeServiceMock ( ) : PHPUnit_Framework_MockObject_MockObject | eZ\Publish\API\Repository\ContentTypeService
리턴 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