public function setUp() { parent::setUp(); $this->controllerManager = $this->getMock('Zend\\Mvc\\Controller\\ControllerManager'); $this->controllerManager->expects($this->once())->method('getServiceLocator')->will($this->returnValue($this->serviceManager)); }
public function setUp() { parent::setUp(); $this->pluginManager = $this->getMock('Zend\\ServiceManager\\AbstractPluginManager'); $this->pluginManager->expects($this->once())->method('getServiceLocator')->will($this->returnValue($this->serviceManager)); }