oldClient.setCasPrefixUrl(CAS_PREFIX_URL);
oldClient.setCasProtocol(CAS_PROTOCOL);
oldClient.setRenew(true);
oldClient.setGateway(true);
oldClient.setAcceptAnyProxy(true);
final ProxyList proxyList = new ProxyList();
oldClient.setAllowedProxyChains(proxyList);
final CasProxyReceptor casProxyReceptor = new CasProxyReceptor();
oldClient.setCasProxyReceptor(casProxyReceptor);
final CasClient client = (CasClient) internalTestClone(oldClient);
assertEquals(oldClient.getCasLoginUrl(), client.getCasLoginUrl());