@Test
    void verifyGet() throws Throwable {
        try (val webServer = new MockWebServer()) {
            val props = new GoogleAuthenticatorMultifactorProperties();
            props.getRest().setUrl("http://localhost:" + webServer.getPort());
            val repo = buildRepositoryInstance(props);
            val account = repo.create(UUID.randomUUID().toString());
            val entity = MAPPER.writeValueAsString(CollectionUtils.wrapList(account));
            webServer.responseBody(entity);
            webServer.start();
            assertFalse(repo.get(account.getUsername()).isEmpty());
        }
    }
This is {@link RestGoogleAuthenticatorTokenCredentialRepositoryTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-gauth/src/test/java/org/apereo/cas/gauth/credential/RestGoogleAuthenticatorTokenCredentialRepositoryTests.java