private SurrogateAuthenticationService getSurrogateAuthenticationService(final Map accounts) {
        return new SimpleSurrogateAuthenticationService(accounts, mock(ServicesManager.class),
            casProperties, principalAccessStrategyEnforcer, applicationContext);
    }
This is {@link SurrogateAuthenticationRestHttpRequestCredentialFactoryTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-surrogate-authentication/src/test/java/org/apereo/cas/authentication/rest/SurrogateAuthenticationRestHttpRequestCredentialFactoryTests.java