@Test
        void verifyNoProvider() throws Throwable {
            val context = MockRequestContext.create();

            val service = RegisteredServiceTestUtils.getRegisteredService(UUID.randomUUID().toString());
            servicesManager.save(service);
            WebUtils.putRegisteredService(context, service);

            WebUtils.putAuthentication(RegisteredServiceTestUtils.getAuthentication(), context);
            WebUtils.putServiceIntoFlowScope(context, RegisteredServiceTestUtils.getService(service.getServiceId()));

            context.addGlobalTransition(TestMultifactorAuthenticationProvider.ID, TestMultifactorAuthenticationProvider.ID);
            val resolvedEvents = CollectionUtils.wrapHashSet(new EventFactorySupport().event(this, "mfa-something"));
            WebUtils.putResolvedEventsAsAttribute(context, resolvedEvents);
            val result = selectiveAuthenticationProviderWebflowEventResolver.resolve(context);
            assertNotNull(result);
            assertFalse(result.isEmpty());
        }
This is {@link SelectiveMultifactorAuthenticationProviderWebflowEventResolverTests}.

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