@Test
    void verifyNoProvider() throws Throwable {
        val service = RegisteredServiceTestUtils.getRegisteredService();
        servicesManager.save(service);
        val dummy = TestMultifactorAuthenticationProvider.registerProviderIntoApplicationContext(applicationContext);
        val provider = multifactorAuthenticationProviderSelector.resolve(CollectionUtils.wrapList(dummy),
            service, RegisteredServiceTestUtils.getPrincipal("none"));
        assertNull(provider);
    }
This is {@link GroovyScriptMultifactorAuthenticationProviderSelectorTests}.

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