public function testCanNotSendANewResponseAfterAjaxResponseFromOutputIsSent()
{
$service = $this->createService();
ob_start();
$json_response = $this->ajax->respondFromOutput('foo');
ob_get_clean();
$this->assertEquals($json_response, $service->send($service->prepareResponse('bar')));
}