@Test
public void testServerStreamingCall() {

  ApiCallContext defaultCallContext = FakeCallContext.createDefault();
  ServerStreamingStashCallable<Integer, Integer> stashCallable =
      new ServerStreamingStashCallable<>();
  ServerStreamingCallable<Integer, Integer> callable =
      stashCallable.withDefaultCallContext(defaultCallContext);
  @SuppressWarnings("unchecked")
  StateCheckingResponseObserver<Integer> observer =
      Mockito.mock(StateCheckingResponseObserver.class);
  Integer request = 1;
  callable.call(request, observer);
  Truth.assertThat(stashCallable.getActualObserver()).isSameInstanceAs(observer);
  Truth.assertThat(stashCallable.getActualRequest()).isSameInstanceAs(request);
  Truth.assertThat(stashCallable.getContext()).isSameInstanceAs(defaultCallContext);
}