public function testDefaultModule() { $dispatcher = $this->_controller->getDispatcher(); $this->assertEquals($dispatcher->getDefaultModule(), $this->_controller->getDefaultModule()); $this->_controller->setDefaultModule('foobar'); $this->assertEquals('foobar', $this->_controller->getDefaultModule()); $this->assertEquals($dispatcher->getDefaultModule(), $this->_controller->getDefaultModule()); }