Ejemplo n.º 1
0
 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));
 }
Ejemplo n.º 2
0
 public function setUp()
 {
     parent::setUp();
     $this->pluginManager = $this->getMock('Zend\\ServiceManager\\AbstractPluginManager');
     $this->pluginManager->expects($this->once())->method('getServiceLocator')->will($this->returnValue($this->serviceManager));
 }