public function testHandlingException()
 {
     $this->service->expects($this->once())->method('call')->willThrowException(new \Exception('Error'));
     $response = $this->controller->__invoke(new Request([], [], [], [], [], [], '{"jsonrpc": "2.0", "method": "test"}'));
     $this->assertJsonStringEqualsJsonString(json_encode(['jsonrpc' => '2.0', 'error' => ['code' => -32603, 'message' => 'Error'], 'id' => null]), $response->getContent());
 }