public function testSetBody() { $res = new \Slim\Http\Response('bar'); $res->setBody('foo'); // <-- Should replace body $this->assertAttributeEquals('foo', 'body', $res); }