/** * Test write for replacing */ public function testWriteReplace() { $r = new \Slim\Http\Response('Foo'); $r->write('Bar', true); $this->assertEquals('Bar', $r->body()); }
/** * Test write for replacing */ public function testWriteReplace() { $r = new \Slim\Http\Response('Foo'); $r->write('Bar', true); $this->assertEquals('Bar', $r->body()); }