protected function getPartlyMockedLimitationService(array $methods = null, array $settings = array())
{
if (!isset($this->partlyMockedLimitationService) || !empty($settings)) {
$this->partlyMockedLimitationService = $this->getMock('eZ\\Publish\\Core\\Repository\\Helper\\LimitationService', $methods, array($settings));
}
return $this->partlyMockedLimitationService;
}