@Test
    void testLoggers() throws Exception {
        final String loggerPath = "/internal/actuator/loggers/" + TEST_LOGGER_NAME;
        AggregatedHttpResponse res = client.get(loggerPath).aggregate().get();
        assertThat(res.status()).isEqualTo(HttpStatus.OK);
        assertThat(res.contentType()).isEqualTo(toMediaType(ApiVersion.LATEST.getProducedMimeType()));

        Map<String, Object> values = OBJECT_MAPPER.readValue(res.content().array(), JSON_MAP);
        assertThat(values).containsEntry("effectiveLevel", "DEBUG");

        res = client.execute(RequestHeaders.of(HttpMethod.POST, loggerPath,
                                               HttpHeaderNames.CONTENT_TYPE, MediaType.JSON_UTF_8),
                             OBJECT_MAPPER.writeValueAsBytes(ImmutableMap.of("configuredLevel", "info")))
                    .aggregate().get();
        assertThat(res.status()).isEqualTo(HttpStatus.NO_CONTENT);

        res = client.get(loggerPath).aggregate().get();
        values = OBJECT_MAPPER.readValue(res.content().array(), JSON_MAP);
        assertThat(values).containsEntry("effectiveLevel", "INFO");

        client.post(loggerPath, OBJECT_MAPPER.writeValueAsBytes(ImmutableMap.of()))
              .aggregate().get();
    }
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