public void testClone() {
final CasProxyReceptor oldClient = new CasProxyReceptor();
oldClient.setCallbackUrl(CALLBACK_URL);
oldClient.setMillisBetweenCleanUps(MILLIS_BETWEEN_CLEANUPS);
final ProxyGrantingTicketStorageImpl proxyGrantingTicketStorageImpl = new ProxyGrantingTicketStorageImpl();
oldClient.setProxyGrantingTicketStorage(proxyGrantingTicketStorageImpl);
oldClient.setName(TYPE);
final CasProxyReceptor client = (CasProxyReceptor) oldClient.clone();
assertEquals(oldClient.getCallbackUrl(), client.getCallbackUrl());
assertEquals(oldClient.getMillisBetweenCleanUps(), client.getMillisBetweenCleanUps());