@Test
public void serverStreaming() {

  ServerStreamingStashCallable<Integer, Integer> callIntList =
      new ServerStreamingStashCallable<>(Arrays.asList(0, 1, 2));
  ServerStreamingCallable<Integer, Integer> callable =
      FakeCallableFactory.createServerStreamingCallable(
          callIntList,
          StreamingCallSettings.<Integer, Integer>newBuilder().build(),
          clientContext);
  AccumulatingStreamObserver responseObserver = new AccumulatingStreamObserver();
  callable.call(0, responseObserver);
  Truth.assertThat(ImmutableList.copyOf(responseObserver.getValues()))
      .containsExactly(0, 1, 2)
      .inOrder();
  Truth.assertThat(callIntList.getActualRequest()).isEqualTo(0);
}