public function testSendContent() { $response = new Response('test response rendering', 200); ob_start(); $response ->sendContent(); $string = ob_get_clean(); $this ->assertContains('test response rendering', $string); }