@Test
    void endpointRemapper() {
        final EndpointGroup group = Endpoint.of("127.0.0.1", server.httpPort());
        final TestServiceBlockingStub stub =
                GrpcClients.builder("http://my-group")
                           .endpointRemapper(endpoint -> {
                               if ("my-group".equals(endpoint.host())) {
                                   return group;
                               } else {
                                   return endpoint;
                               }
                           })
                           .build(TestServiceBlockingStub.class);

        assertThat(stub.emptyCall(Empty.newBuilder().build())).isNotNull();
    }
Start a fullDuplexCall which the server will not respond, and verify the deadline expires.
grpc/src/test/java/com/linecorp/armeria/client/grpc/GrpcClientTest.java