public function testCallingEndMarksAsComplete() { $response = $this->response->end(); $this->assertTrue($response->isComplete()); }