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

getNameSchemaServiceMock() protected method

protected getNameSchemaServiceMock ( ) : PHPUnit_Framework_MockObject_MockObject | NameSchemaService
return PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Repository\Helper\NameSchemaService
    protected function getNameSchemaServiceMock()
    {
        if (!isset($this->nameSchemaServiceMock)) {
            $this->nameSchemaServiceMock = $this->getMockBuilder('eZ\\Publish\\Core\\Repository\\Helper\\NameSchemaService')->disableOriginalConstructor()->getMock();
        }
        return $this->nameSchemaServiceMock;
    }
ContentTest