WHEN_AVAILABLE

Use the main method when it is available. If there is no @SpringBootConfiguration-annotated class or that class does not have a main method, a test-specific SpringApplication will be used.