private void load(final Class<?> config, final String... environment) {
        TestPropertyValues.of(environment).applyTo(this.environment);
        this.context = new SpringApplicationBuilder(config).environment(this.environment).web(WebApplicationType.NONE)
            .run();
    }
This is {@link ConditionalOnMatchingHostnameTests}.

@author Hal Deadman
@since 6.4.0
core/cas-server-core-util-api/src/test/java/org/apereo/cas/util/spring/boot/ConditionalOnMatchingHostnameTests.java