_testSize(si);
}
public void testMuxHeader() throws Exception {
MuxHeader hdr=new MuxHeader();
_testSize(hdr);
hdr=new MuxHeader("bla");
_testSize(hdr);
ServiceInfo si=new ServiceInfo();
hdr=new MuxHeader(si);
_testSize(hdr);
si=new ServiceInfo(ServiceInfo.STATE_REQ, null, null, null);
_testSize(new MuxHeader(si));
si=new ServiceInfo(ServiceInfo.STATE_REQ, "bla", null, null);
_testSize(new MuxHeader(si));
si=new ServiceInfo(ServiceInfo.STATE_REQ, null, new IpAddress(3333), null);
_testSize(new MuxHeader(si));
si=new ServiceInfo(ServiceInfo.STATE_REQ, null, null, new byte[]{'b', 'e', 'l', 'a'});
_testSize(new MuxHeader(si));
si=new ServiceInfo(ServiceInfo.STATE_REQ, "bla", new IpAddress(3333), new byte[]{'b', 'e', 'l', 'a'});
_testSize(new MuxHeader(si));
}