/** * Test Response Body */ public function testResponseBody() { $this->expectOutputString('foo'); $response = new Response(); $response->setBody('foo'); $this->assertEquals('foo', $response->getBody()); $response->send(); }
/** * Test Response Body */ public function testResponseBody() { $this->expectOutputString('foo'); $response = new Response(); $response->setBody('foo'); $this->assertEquals('foo', $response->getBody()); $response->send(); }