*/
public void testRelationshipWithSharedList1() throws Exception
{
log.info("testRelationshipWithList() ....");
List list1 = new ArrayList();
Address addr = new Address();
addr.setCity("San Jose");
addr.setZip(95123);
list1.add(addr);
// Pure list
cache1.putObject("/list", list1);
// We specifically need to use Proxy otherwise it won't work with multiple references
list1 = (List)cache1.getObject("/list");
cache1.putObject("/alias", list1);
List list2 = (List)cache1.getObject("/alias");
Address add1 = (Address)list2.get(0);
assertNotNull("Address should not be null", add1);
assertEquals("Zip ", 95123, add1.getZip());
list1 = (List)cache2.getObject("/list");
list2 = (List)cache2.getObject("/alias");
assertTrue("List size should not be 0 ", (list2.size() != 0));
assertEquals("Both lists should be equal ", list1, list2);