@Test
    void verifyOperationShouldProceed() {
        try (val webServer = new MockWebServer("Y", HttpStatus.ACCEPTED)) {
            webServer.start();
            val props = new MultifactorAuthenticationProviderBypassProperties();
            props.getRest().setUrl("http://localhost:%s".formatted(webServer.getPort()));
            val provider = new TestMultifactorAuthenticationProvider();
            val evaluator = new RestMultifactorAuthenticationProviderBypassEvaluator(props, provider.getId(), applicationContext);
            val res = evaluator.shouldMultifactorAuthenticationProviderExecute(MultifactorAuthenticationTestUtils.getAuthentication("casuser"),
                MultifactorAuthenticationTestUtils.getRegisteredService(), provider,
                new MockHttpServletRequest(), MultifactorAuthenticationTestUtils.getService("service"));
            assertTrue(res);
        }
    }
This is {@link RestMultifactorAuthenticationProviderBypassEvaluatorTests}.

@author Misagh Moayyed
@since 6.0.0
core/cas-server-core-authentication-mfa-api/src/test/java/org/apereo/cas/authentication/RestMultifactorAuthenticationProviderBypassEvaluatorTests.java