@Test
    void verifyOperation() {
        val input = mock(MultifactorAuthenticationProviderBypassEvaluator.class);
        when(input.isMultifactorAuthenticationBypassed(any(), anyString())).thenCallRealMethod();
        when(input.getOrder()).thenCallRealMethod();
        when(input.size()).thenCallRealMethod();
        doCallRealMethod().when(input).forgetBypass(any());
        doCallRealMethod().when(input).rememberBypass(any(), any());

        assertEquals(1, input.size());
        assertEquals(Ordered.LOWEST_PRECEDENCE, input.getOrder());
        assertFalse(input.isMultifactorAuthenticationBypassed(mock(Authentication.class), "provider-id"));
        assertDoesNotThrow(() -> {
            input.rememberBypass(mock(Authentication.class), mock(MultifactorAuthenticationProvider.class));
            input.forgetBypass(mock(Authentication.class));
        });
    }
This is {@link MultifactorAuthenticationProviderBypassEvaluatorTests}.

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