XSSimpleTypeDefinition st = (XSSimpleTypeDefinition) model
.getTypeDefinition("ST4", "XSFacetTest");
// Item 0 is minInclusive
XSFacet minInclusive = (XSFacet) st.getFacets().item(1);
XSAnnotation annotation = minInclusive.getAnnotation();
assertEquals("TEST4_ANNOTATION_" + synth, expected, trim(annotation
.getAnnotationString()));
XSObjectList annotations = minInclusive.getAnnotations();
assertEquals(
"TES4_ANNOTATIONS_" + synth,
expected,