@Test
    void testHttpServiceRegistrationBean() throws Exception {
        final HttpResponse response = WebClient.builder(newUrl("https"))
                                               .factory(clientFactory)
                                               .build()
                                               .get("/ok");
        final AggregatedHttpResponse res = response.aggregate().get();
        assertThat(res.status()).isEqualTo(HttpStatus.OK);
        assertThat(res.contentUtf8()).isEqualTo("ok");
    }
Tests for {@link LocalArmeriaPort} when https.
spring/boot3-autoconfigure/src/test/java/com/linecorp/armeria/spring/LocalArmeriaPortHttpsTest.java