@Test
public void testWithTransportChannel() {

  ManagedHttpJsonChannel channel = Mockito.mock(ManagedHttpJsonChannel.class);
  HttpJsonCallContext context =
      HttpJsonCallContext.createDefault()
          .withTransportChannel(
              HttpJsonTransportChannel.newBuilder().setManagedChannel(channel).build());
  Truth.assertThat(context.getChannel()).isSameInstanceAs(channel);
}