@Test
public void testWithTransportChannel() {

  ManagedChannel channel = Mockito.mock(ManagedChannel.class);
  GrpcCallContext context =
      GrpcCallContext.createDefault().withTransportChannel(GrpcTransportChannel.create(channel));
  Truth.assertThat(context.getChannel()).isSameInstanceAs(channel);
}