/** * Test isEmpty */ public function testIsEmpty() { $r1 = new Slim_Http_Response(); $r2 = new Slim_Http_Response(); $r1->status(404); $r2->status(201); $this->assertFalse($r1->isEmpty()); $this->assertTrue($r2->isEmpty()); }
/** * Test isEmpty */ public function testIsEmpty() { $r1 = new Slim_Http_Response(); $r2 = new Slim_Http_Response(); $r1->status(404); $r2->status(201); $this->assertFalse($r1->isEmpty()); $this->assertTrue($r2->isEmpty()); }