protected function getPartlyMockedNameSchemaService(array $methods = null)
{
return $this->getMock('eZ\\Publish\\Core\\Repository\\Helper\\NameSchemaService', $methods, array($this->getPersistenceMock()->contentTypeHandler(), $this->getContentTypeDomainMapperMock(), $this->getNameableFieldTypeRegistryMock()));
}