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());
assertEquals(oldClient.getCasPrefixUrl(), client.getCasPrefixUrl());
assertEquals(oldClient.getCasProtocol(), client.getCasProtocol());