public function testCanSendReponse()
{
$service = $this->createService();
ob_start();
$response = $service->prepareResponse('foo');
$this->assertInstanceOf(Response::class, $service->send($response));
$this->assertEquals($response, $service->getSentResponse());
$output = ob_get_clean();
$this->assertEquals('foo', $output);
}