* be non-null here since this is not the job of this test method. This
* is because subclasses may choose to override the above test method.
*/
if (uml != null) {
assertEquals("Wrong @XmlElement.name().", uml.identifier(), element.name());
assertEquals("Wrong @XmlElement.required().", uml.obligation() == Obligation.MANDATORY, element.required());
}
/*
* Check that the namespace is the expected one (according subclass)
* and is not redundant with the package @XmlSchema annotation.
*/