@Test
    void verifyMatchMissing() {
        val env = new MockEnvironment();
        env.setProperty("cas.property.name", "value");
        val condition = BeanCondition.on("cas.property.other-name")
            .evenIfMissing()
            .and(() -> true)
            .given(env)
            .get();
        assertTrue(condition);
    }
This is {@link BeanConditionTests}.

@author Misagh Moayyed
@since 6.5.0
core/cas-server-core-util-api/src/test/java/org/apereo/cas/util/spring/beans/BeanConditionTests.java