@Test
public void testErrorAfterResultIsIgnored() throws Exception {

  ApiFuture<String> result = callable.futureCall("request");
  MockServerStreamingCall<String, String> call = upstream.popLastCall();
  Truth.assertThat(call.getController().isAutoFlowControlEnabled()).isFalse();
  call.getController().getObserver().onResponse("response");
  call.getController()
      .getObserver()
      .onError(new RuntimeException("some error that will be ignored"));
  Truth.assertThat(result.get()).isEqualTo("response");
}