private static final String USERNAME = "leleuj";
private static final String CAS_SERVER_URL = "http://casserverurl/oauth2.0";
public void testClone() {
final CasOAuthWrapperClient oldClient = new CasOAuthWrapperClient();
oldClient.setCasOAuthUrl(CAS_SERVER_URL);
oldClient.setSpringSecurityCompliant(true);
final CasOAuthWrapperClient client = (CasOAuthWrapperClient) internalTestClone(oldClient);
assertEquals(oldClient.getCasOAuthUrl(), client.getCasOAuthUrl());
assertEquals(oldClient.isSpringSecurityCompliant(), client.isSpringSecurityCompliant());
}