@Test
    void verifyUserNotAllowedToProxy() throws Throwable {
        assertTrue(getService().getImpersonationAccounts("unknown-user", 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