@Test
    void sendHelloViaHttp2() throws Exception {
        final AtomicReference<SessionProtocol> sessionProtocol = new AtomicReference<>();
        final HelloService.Iface client = newSchemeCapturingClient(http2uri(HTTP), sessionProtocol);

        assertThat(client.hello("new world")).isEqualTo("Hello, new world!");
        assertThat(sessionProtocol.get()).isEqualTo(H2C);
    }
When an upgrade request is rejected with 'Connection: close', the client should retry the connection
attempt silently with explicit H1C.
thrift/thrift0.13/src/test/java/com/linecorp/armeria/client/thrift/ThriftOverHttpClientTServletIntegrationTest.java