assertEquals(3, cPart.getPart("areaCode").getMinCount());
assertTrue(msg.getRoot().getAggregation() != CompositeMessagePart.SINGLE);
msg = (Message)msgRegistry.get("phoneNumberA");
assertTrue(msg.getRoot().getAggregation() != CompositeMessagePart.SINGLE);
MessagePart p = msg.getRoot().getPart("phoneNumber");
assertEquals(0, p.getMinCount());
p = msg.getRoot().getPart("areaCode");
assertEquals(0, p.getMinCount());
p = msg.getRoot().getPart("number");
assertEquals(0, p.getMinCount());
msg = (Message)msgRegistry.get("sequencechoice");
p = msg.getRoot().getPart("externalAct");
assertEquals(0, p.getMinCount());
msg = (Message)msgRegistry.get("unboundedChoice");
p = msg.getRoot().getPart("th");
assertEquals(0, p.getMinCount());
msg = (Message)msgRegistry.get("wierdBoolean");
p = msg.getRoot().getPart("ba");
assertEquals(((XMLMessagePartMapping)p.getMapping()).getFormat(), "true;false");
}