@Bean
        public ArmeriaServerConfigurator annotatedService() {
            return sb -> sb.annotatedService()
                           .pathPrefix("/annotated")
                           .defaultServiceName("annotatedService")
                           .decorators(LoggingService.newDecorator())
                           .exceptionHandlers(new IllegalArgumentExceptionHandler())
                           .requestConverters(new StringRequestConverterFunction())
                           .responseConverters(new StringResponseConverter())
                           .build(new AnnotatedService());
        }
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