public function testSend() { $string_content = "This is some string content"; $this->response->setContent($string_content); ob_start(); $this->response->send(); $body = ob_get_clean(); $this->assertEquals($body, $string_content, "Sent body did not equal set string content"); }