List<? extends EdmAnnotationElement> annotations = annotationsProvider.getAnnotationElements();
assertEquals(1, annotations.size());
Iterator<? extends EdmAnnotationElement> iterator = annotations.iterator();
while (iterator.hasNext()) {
EdmAnnotationElement element = iterator.next();
assertEquals("elementName", element.getName());
assertEquals("namespace", element.getNamespace());
assertEquals("prefix", element.getPrefix());
assertEquals("xmlData", element.getText());
}
}