@Test
    void verifyResumeOnFailureClasspath() {
        val policy = new GroovyScriptAuthenticationPolicy("classpath:/GroovyAuthenticationPolicy.groovy");
        assertFalse(policy.shouldResumeOnFailure(new RuntimeException()));
        assertTrue(policy.shouldResumeOnFailure(new AccountNotFoundException()));
    }
This is {@link GroovyScriptAuthenticationPolicyTests}.

@author Misagh Moayyed
@since 5.3.0
core/cas-server-core-authentication-api/src/test/java/org/apereo/cas/authentication/policy/GroovyScriptAuthenticationPolicyTests.java