@Test
    void exactMatchAndPropertyTrue() {
        load(ConfigurationBeansDependOnHostAndProperty.class, "hostname=" + HOSTNAME, "someproperty=true");
        assertThat(this.context.containsBean("bar")).isTrue();
    }
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