XmlType xmlType = reader.getClassAnnotation(XmlType.class, TestBean1.class, null);
assertEquals("http://jbossesb.y.jboss.org", xmlType.namespace());
String[] propOrder = xmlType.propOrder();
assertEquals(3, propOrder.length);
assertTrue(propOrder[0].equals("a") && propOrder[1].equals("b") && propOrder[2].equals("c"));
assertTrue(xmlType.factoryClass() == TestBean1.class);
XmlAttribute xmlAttribute = reader.getMethodAnnotation(XmlAttribute.class, testBean1Method, null);
assertEquals("##default", xmlAttribute.name());
assertEquals("http://jbossesb.z.jboss.org", xmlAttribute.namespace());
assertFalse(xmlAttribute.required());