예제 #1
0
 /**
  * By default we send content-type header, plus response code in this test
  */
 public function testSettingResponseCode()
 {
     $this->object->expects($this->exactly(2))->method('sendHeader');
     $this->object->setCode(200);
     $this->object->sendHeaders();
 }