@Test
public void testHandler() {
InputStream is = getClass().getResourceAsStream("/test_error_handler.json");
GoGridErrorHandler handler = Guice.createInjector(new GsonModule()).getInstance(GoGridErrorHandler.class);
HttpCommand command = createHttpCommand();
handler.handleError(command, HttpResponse.builder().statusCode(200).message("ok").payload(is).build());
Exception createdException = command.getException();