@Test
    void compressionConfiguration() {
        assertThat(settings).isNotNull();
        final Compression compression = settings.getCompression();
        assertThat(compression).isNotNull();
        assertThat(compression.isEnabled()).isTrue();
        assertThat(compression.getMimeTypes()).containsExactly("text/*", "application/json");
        assertThat(compression.getExcludedUserAgents())
                .containsExactly("some-user-agent", "another-user-agent");
        assertThat(compression.getMinResponseSize()).isEqualTo("1KB");
    }
This uses {@link ArmeriaAutoConfiguration} for integration tests.
{@code application-compressionTest.yml} will be loaded with minimal settings to make it work.
spring/boot3-autoconfigure/src/test/java/com/linecorp/armeria/spring/ArmeriaCompressionConfigurationTest.java