@Test
    void verifyOperationPrevented() throws Throwable {
        val input = new AllAuthenticationHandlersSucceededAuthenticationPolicy();
        val builder = new DefaultAuthenticationBuilder(CoreAuthenticationTestUtils.getPrincipal());
        val authn = builder.addFailure("Prevented", new PreventedException("error")).build();
        assertFalse(input.isSatisfiedBy(authn, mock(ConfigurableApplicationContext.class)).isSuccess());
    }
This is {@link AllAuthenticationHandlersSucceededAuthenticationPolicyTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-authentication/src/test/java/org/apereo/cas/authentication/policy/AllAuthenticationHandlersSucceededAuthenticationPolicyTests.java