assertEquals(address1.getRackId(), "r1");
assertEquals(address1.getMachineId(), "m1");
}
private void assertTopologyInfo2Nodes(List<Address> caches) {
TopologyAwareAddress address0 = (TopologyAwareAddress) address(0);
assertEquals(address0.getSiteId(), "s0");
assertEquals(address0.getRackId(), "r0");
assertEquals(address0.getMachineId(), "m0");
TopologyAwareAddress address2 = (TopologyAwareAddress) address(2);
assertEquals(address2.getSiteId(), "s2");
assertEquals(address2.getRackId(), "r2");
assertEquals(address2.getMachineId(), "m2");
}