@Test
        void verifyCompositeBypass() throws Throwable {
            val context = MockRequestContext.create();
            val provider = new DefaultChainingMultifactorAuthenticationProvider(applicationContext,
                new DefaultMultifactorAuthenticationFailureModeEvaluator(casProperties));
            val event = new EventFactorySupport().event(this,
                ChainingMultifactorAuthenticationProvider.DEFAULT_IDENTIFIER,
                new LocalAttributeMap<>(MultifactorAuthenticationProvider.class.getName(), provider));
            val resolvedEvents = CollectionUtils.wrapHashSet(event);
            WebUtils.putResolvedEventsAsAttribute(context, resolvedEvents);
            val result = compositeResolver.resolve(context);
            assertNotNull(result);
            assertTrue(result.isEmpty());
        }
This is {@link CompositeProviderSelectionMultifactorWebflowEventResolverTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-webflow-mfa/src/test/java/org/apereo/cas/web/flow/resolver/impl/CompositeProviderSelectionMultifactorWebflowEventResolverTests.java