assert map.get(sm2) == 2;
}
public void testSiteUUID() throws Exception {
UUID a=(UUID)Util.createRandomAddress("A"), b=(UUID)Util.createRandomAddress("B");
SiteUUID sa=new SiteUUID(a, "sm-a", "sfo");
SiteUUID sb=(SiteUUID)new SiteUUID(b, "b", "lon").setFlag(ExtendedUUID.can_become_site_master)
.put(Util.stringToBytes("id"),Util.objectToByteBuffer(322649));
System.out.println("sb = " + sb);
assert sa.getName().equals("sm-a");
assert sa.getSite().equals("sfo");
SiteUUID copy=(SiteUUID)sb.copy();
assert copy.equals(sb);
assert copy.getName().equals(sb.getName());
assert copy.getSite().equals(sb.getSite());
}