@Test
    void verifyAction() throws Throwable {
        val body = new LinkedMultiValueMap<String, String>();
        body.add(CasSimpleMultifactorRestHttpRequestCredentialFactory.PARAMETER_NAME_CAS_SIMPLE_OTP, "token");
        assertFalse(casSimpleMultifactorRestHttpRequestCredentialFactory.fromRequest(null, body).isEmpty());
    }
This is {@link CasSimpleMultifactorRestHttpRequestCredentialFactoryTests}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-simple-mfa/src/test/java/org/apereo/cas/mfa/simple/rest/CasSimpleMultifactorRestHttpRequestCredentialFactoryTests.java