protected function getPartlyMockedRelationProcessor(array $methods = null) { return $this->getMock('eZ\\Publish\\Core\\Repository\\Helper\\RelationProcessor', $methods, array($this->getPersistenceMock())); }