public static DataMap getAnnotationsMap(Annotation[] as)
  {
    return annotationsToData(as, true);
  }
@Test(description = "Non-empty annotation, scalar members, default values: data map with annotation + no members")
  public void succeedsOnSupportedScalarMembersWithDefaultValues()
  {
    @SupportedScalarMembers
    class LocalClass {
    }

    final Annotation[] annotations = LocalClass.class.getAnnotations();
    final DataMap actual = ResourceModelAnnotation.getAnnotationsMap(annotations);

    Assert.assertNotNull(actual);
    Assert.assertTrue(actual.get(SUPPORTED_SCALAR_MEMBERS) instanceof DataMap);

    final DataMap dataMap = ((DataMap) actual.get(SUPPORTED_SCALAR_MEMBERS));

    Assert.assertEquals(dataMap.size(), 0);
  }