@Test
    void verifyPassOperation() {
        System.setProperty("test.runtime", "pass");
        val event = new ApplicationReadyEvent(mock(SpringApplication.class),
            ArrayUtils.EMPTY_STRING_ARRAY, this.applicationContext, Duration.ofSeconds(30));
        assertDoesNotThrow(() -> applicationContext.publishEvent(event));
    }
This is {@link DefaultSamlIdPCasEventListenerTests}.

@author Misagh Moayyed
@since 6.5.0
support/cas-server-support-saml-idp/src/test/java/org/apereo/cas/support/saml/idp/DefaultSamlIdPCasEventListenerTests.java