@Test
    void verifyOperation() {
        val policy = mock(AuthenticationPolicy.class);
        when(policy.getOrder()).thenCallRealMethod();
        when(policy.shouldResumeOnFailure(any())).thenCallRealMethod();
        when(policy.getName()).thenCallRealMethod();
        assertNotNull(policy.getName());
        assertTrue(policy.shouldResumeOnFailure(new IllegalArgumentException()));
        assertEquals(Ordered.LOWEST_PRECEDENCE, policy.getOrder());
    }
This is {@link AuthenticationPolicyTests}.

@author Misagh Moayyed
@since 6.3.0
api/cas-server-core-api-authentication/src/test/java/org/apereo/cas/authentication/AuthenticationPolicyTests.java