Esempio n. 1
0
 /**
  * Test isInformational
  */
 public function testIsNotFound()
 {
     $r1 = new Slim_Http_Response();
     $r2 = new Slim_Http_Response();
     $r1->status(404);
     $r2->status(200);
     $this->assertTrue($r1->isNotFound());
     $this->assertFalse($r2->isNotFound());
 }