public function indexAction() { $container = $this->getInvokeArg('bootstrap')->getContainer(); $testService = $container->get('testService'); $this->view->parameters = $container->getParameterBag()->all(); $this->view->serviceIds = $container->getServiceIds(); $this->view->testServiceOut1 = $testService->test(); $this->view->testServiceOut2 = $this->_testService->test2(); }
public function testTest2() { $this->assertContains('called from testService', $this->_testService->test2()); }