@Test
    void verifyUserAllowedToProxy() throws Throwable {
        assertFalse(getService().getImpersonationAccounts(getTestUser(), Optional.empty()).isEmpty());
    }
This is {@link BaseSurrogateAuthenticationServiceTests}.

@author Timur Duehr
@since 6.0.0
support/cas-server-support-surrogate-authentication/src/test/java/org/apereo/cas/authentication/surrogate/BaseSurrogateAuthenticationServiceTests.java