/** * Sets the parent service locator. * * @param ServiceLocatorInterface $serviceLocator * @param int $count expected call count for getServiceLocator * * @return AbstractPluginManager */ public function setServiceLocator(ServiceLocatorInterface $serviceLocator, $count = 1) { $this->setExpectedCallCount('getServiceLocator', $count); return parent::setServiceLocator($serviceLocator); }