예제 #1
0
 /**
  * Test isClientError
  */
 public function testIsClientError()
 {
     $r1 = new Slim_Http_Response();
     $r2 = new Slim_Http_Response();
     $r1->status(404);
     $r2->status(500);
     $this->assertTrue($r1->isClientError());
     $this->assertFalse($r2->isClientError());
 }