public void testAnnotationsToDescriptions() throws Exception
{
Map msgLookup = getMessageRegistry(XSDMessageImporterTest.class.getResource("annotations.xsd"));
Message msg = (Message)msgLookup.get("PRPA_IN101103CA");
assertNull(msg.getRoot().getDescription());
Message msgBase = (Message)msgLookup.get("PRPA_IN101103CA_MCCI_MT002100CA_Message");
MessagePart part = msgBase.getRoot().getPart("id");
String sDescription = part.getDescription();
assertTrue(sDescription.startsWith("A unique identifier for the message."));
assertTrue(sDescription.endsWith("A root component is required or else the II value is NULL."));