public void testRemoveObject2() throws Exception
{
log.info("testRemoveObject2() ...");
cache1.putObject("/person/joe", createPerson("Joe Black", 31));
Person joe = (Person) cache1.getObject("/person/joe");
cache1.putObject("/person/ben", createPerson("Ben Hogan", 51));
Person ben = (Person) cache1.getObject("/person/ben");
cache1.putObject("/person/john", createPerson("John Daly", 41));
Person john = (Person) cache1.getObject("/person/john");
Address addr = new Address();
addr.setStreet("123 Albert Ave.");
addr.setCity("Sunnyvale");
addr.setZip(94087);
Address addr1 = new Address();
addr1.setStreet("123 Albert Ave.");
addr1.setCity("San Jose");
addr1.setZip(94087);
// They share the sub-object: address
log.info("testMultipleReference(): set Joe address");
joe.setAddress(addr);
log.info("testMultipleReference(): set Ben address");
ben.setAddress(addr);
john.setAddress(addr);
Address add1 = (Address) ((Person)cache2.getObject("/person/joe")).getAddress();
Address add2 = (Address) ((Person)cache2.getObject("/person/ben")).getAddress();
assertEquals(add1.getCity(), add2.getCity());
addr.setCity("Santa Clara");