@Test
    void testThriftService() throws Exception {
        final TestService.Iface client = ThriftClients.newClient(newUrl("h1c") + "/thrift",
                                                                 TestService.Iface.class);
        assertThat(client.hello("world")).isEqualTo("hello world");

        final WebClient webClient = WebClient.of(newUrl("h1c"));
        final HttpResponse response = webClient.get("/internal/docs/specification.json");

        final AggregatedHttpResponse res = response.aggregate().get();
        assertThat(res.status()).isEqualTo(HttpStatus.OK);
        assertThatJson(res.contentUtf8()).node("services[2].name").isStringEqualTo(
                "testing.spring.thrift.TestService");
        assertThatJson(res.contentUtf8())
                .node("services[2].exampleHeaders[0].x-additional-header").isStringEqualTo("headerVal");
        assertThatJson(res.contentUtf8())
                .node("services[0].methods[0].exampleHeaders[0].x-additional-header")
                .isStringEqualTo("headerVal");
    }
This uses {@link ArmeriaAutoConfiguration} for integration tests.
application-autoConfTest.yml will be loaded with minimal settings to make it work.
spring/boot3-autoconfigure/src/test/java/com/linecorp/armeria/spring/ArmeriaAutoConfigurationTest.java