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

getPartlyMockedContentService() protected method

Injected Repository comes from {@see \getRepositoryMock()} and persistence handler from {@see \getPersistenceMock()}
protected getPartlyMockedContentService ( array $methods = null ) : ContentService | PHPUnit_Framework_MockObject_MockObject
$methods array
return eZ\Publish\Core\Repository\ContentService | PHPUnit_Framework_MockObject_MockObject
    protected function getPartlyMockedContentService(array $methods = null)
    {
        if (!isset($this->partlyMockedContentService)) {
            $this->partlyMockedContentService = $this->getMock('eZ\\Publish\\Core\\Repository\\ContentService', $methods, array($this->getRepositoryMock(), $this->getPersistenceMock(), $this->getDomainMapperMock(), $this->getRelationProcessorMock(), $this->getNameSchemaServiceMock(), $this->getFieldTypeRegistryMock(), array()));
        }
        return $this->partlyMockedContentService;
    }
ContentTest