@Bean
        public String foo() {
            return "foo";
        }
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