### Question:
EdmAnnotationsImplProv implements EdmAnnotations { @Override public List<EdmAnnotationAttribute> getAnnotationAttributes() { return annotationAttributes; } EdmAnnotationsImplProv(final List<AnnotationAttribute> annotationAttributes,
      final List<AnnotationElement> annotationElements); @Override List<EdmAnnotationElement> getAnnotationElements(); @Override EdmAnnotationElement getAnnotationElement(final String name, final String namespace); @Override List<EdmAnnotationAttribute> getAnnotationAttributes(); @Override EdmAnnotationAttribute getAnnotationAttribute(final String name, final String namespace);  }### Answer:
@Test public void testAttributes() { List<? extends EdmAnnotationAttribute> annotations = annotationsProvider.getAnnotationAttributes(); assertEquals(1, annotations.size()); Iterator<? extends EdmAnnotationAttribute> iterator = annotations.iterator(); while (iterator.hasNext()) { EdmAnnotationAttribute attribute = iterator.next(); assertEquals("attributeName", attribute.getName()); assertEquals("namespace", attribute.getNamespace()); assertEquals("prefix", attribute.getPrefix()); assertEquals("Text", attribute.getText()); } }