public function testIsNotFound() { $r1 = new \Slim\Http\Response(); $r2 = new \Slim\Http\Response(); $r1->setStatus(404); $r2->setStatus(200); $this->assertTrue($r1->isNotFound()); $this->assertFalse($r2->isNotFound()); }
public function testIsNotFound() { $r1 = new \Slim\Http\Response(); $r2 = new \Slim\Http\Response(); $r1->setStatus(404); $r2->setStatus(200); $this->assertTrue($r1->isNotFound()); $this->assertFalse($r2->isNotFound()); }