@Test
    void verifyBadFile() {
        val policy = new GroovyScriptAuthenticationPolicy("unknown-file");
        assertThrows(IllegalArgumentException.class, () -> policy.shouldResumeOnFailure(new RuntimeException()));
    }
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