/** * @covers Response::send_body * @todo Implement testSend_body(). */ public function testSend_body() { $this->object->body = 'test'; ob_start(); $this->object->send_body(); $out = ob_get_contents(); ob_end_clean(); $this->assertEquals($out, 'test'); }