@Test
    void verifyCredentials() {
        val f = new GoogleAuthenticatorRestHttpRequestCredentialFactory();
        val body = new LinkedMultiValueMap<String, String>();
        body.add(GoogleAuthenticatorRestHttpRequestCredentialFactory.PARAMETER_NAME_GAUTH_OTP, "132456");
        body.add(GoogleAuthenticatorRestHttpRequestCredentialFactory.PARAMETER_NAME_GAUTH_ACCT, "132456");
        val results = f.fromRequest(new MockHttpServletRequest(), body);
        assertFalse(results.isEmpty());
        val credential = (GoogleAuthenticatorTokenCredential) results.getFirst();
        assertEquals("132456", credential.getId());
        assertEquals(132456, credential.getAccountId());
    }
This is {@link GoogleAuthenticatorRestHttpRequestCredentialFactoryTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-gauth-core-mfa/src/test/java/org/apereo/cas/gauth/rest/GoogleAuthenticatorRestHttpRequestCredentialFactoryTests.java