@Test
    void verifyDurations() {
        assertNotNull(Beans.newDuration("0"));
        assertNotNull(Beans.newDuration("never"));
        assertNotNull(Beans.newDuration("infinite"));
        assertNotNull(Beans.newDuration("-1"));
    }
This is {@link BeansTests}.

@author Misagh Moayyed
@since 6.3.0
api/cas-server-core-api-configuration-model/src/test/java/org/apereo/cas/configuration/support/BeansTests.java