@Test
    void testLinksAcceptV2MediaTypes() throws Exception {
        final MediaType v2MediaType = toMediaType(ApiVersion.V2.getProducedMimeType());
        final RequestHeaders req = RequestHeaders.of(
                HttpMethod.GET, "/internal/actuator", HttpHeaderNames.ACCEPT, v2MediaType);
        final AggregatedHttpResponse res = client.execute(req).aggregate().get();
        assertThat(res.contentType()).isEqualTo(v2MediaType);
    }
This uses {@link com.linecorp.armeria.spring.ArmeriaAutoConfiguration} for integration tests.
{@code application-autoConfTest.yml} will be loaded with minimal settings to make it work.
spring/boot3-actuator-autoconfigure/src/test/java/com/linecorp/armeria/spring/actuate/ArmeriaSpringActuatorAutoConfigurationTest.java