示例#1
0
 public function testGetRequestedActionNameWithRoutingInfo()
 {
     $this->_model = $this->_model = $this->getModel();
     $this->_model->setRoutingInfo(array('requested_action' => 'ExpectedValue'));
     $this->assertEquals('ExpectedValue', $this->_model->getRequestedActionName());
 }
示例#2
0
 public function testGetRequestedActionNameWithRoutingInfo()
 {
     $this->_model = new Request($this->_routerListMock, $this->_infoProcessorMock);
     $this->_model->setRoutingInfo(array('requested_action' => 'ExpectedValue'));
     $this->assertEquals('ExpectedValue', $this->_model->getRequestedActionName());
 }