Ejemplo n.º 1
0
 public function testGetAndSetResponse()
 {
     $this->assertInstanceOf('Zend_Controller_Response_Abstract', $this->_output->getResponse());
     $response = $this->getMock('Zend_Controller_Response_Abstract');
     $this->_output->setResponse($response);
     $this->assertSame($response, $this->_output->getResponse());
 }
Ejemplo n.º 2
0
 public function testGetAndSetResponse()
 {
     $this->assertInstanceOf('Zend\\Http\\PhpEnvironment\\Response', $this->_output->getResponse());
     $response = $this->getMock('Magento\\Framework\\App\\Response\\Http', null, [], '', false);
     $this->_output->setResponse($response);
     $this->assertSame($response, $this->_output->getResponse());
 }