public static void testPingData() throws Exception {
PingData data;
final Address own=org.jgroups.util.UUID.randomUUID();
final Address coord=org.jgroups.util.UUID.randomUUID();
final PhysicalAddress physical_addr_1=new IpAddress("127.0.0.1", 7500);
final PhysicalAddress physical_addr_2=new IpAddress("192.168.1.5", 6000);
final PhysicalAddress physical_addr_3=new IpAddress("192.134.2.1", 6655);
final Address self=Util.createRandomAddress();
data=new PingData(null, null, false);
_testSize(data);
data=new PingData(own, Util.createView(coord, 22, coord, Util.createRandomAddress()), false);
_testSize(data);
data=new PingData(null, null, false, "node-1", null);
_testSize(data);
data=new PingData(own, Util.createView(coord, 22, coord), false, "node-1", null);
_testSize(data);
data=new PingData(own, Util.createView(coord, 22, coord), false, "node-1", new ArrayList<PhysicalAddress>(7));
_testSize(data);
data=new PingData(null, null, false, "node-1", new ArrayList<PhysicalAddress>(7));
_testSize(data);
List<PhysicalAddress> list=new ArrayList<PhysicalAddress>();
list.add(physical_addr_1);
list.add(physical_addr_2);
list.add(physical_addr_3);
data=new PingData(null, null, false, "node-1", list);
_testSize(data);
list.clear();
list.add(new IpAddress("127.0.0.1", 7500));
data=new PingData(null, null, false, "node-1", list);
_testSize(data);
View view=Util.createView(coord, 322649, coord, own, UUID.randomUUID());
data.setView(view);