Ejemplo n.º 1
0
 public function testSetHttpResponseCode()
 {
     $this->assertEquals(200, $this->_response->getHttpResponseCode());
     $this->_response->setHttpResponseCode(302);
     $this->assertEquals(302, $this->_response->getHttpResponseCode());
 }