public static DataMap getAnnotationsMap(Annotation[] as)
  {
    return annotationsToData(as, true);
  }
@Test(description = "Unsafe call: null input", expectedExceptions = NullPointerException.class)
  public void failsOnNullInput()
  {
    ResourceModelAnnotation.getAnnotationsMap(null);
    Assert.fail("Should fail throwing a NullPointerException");
  }