@Test
    void verifyEmptyBody() throws Throwable {
        val body = new LinkedMultiValueMap<String, String>();
        assertTrue(casSimpleMultifactorRestHttpRequestCredentialFactory.fromRequest(null, body).isEmpty());
        body.put("some-other-key", List.of("value1"));
        assertTrue(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