Пример #1
0
 @DataProvider(name = "objects")
 public Object[][] getObjects() {
   return new Object[][] {
     {new Annotation(null, AnnotationType.REPLY, null), URIGenerator.getPrefix() + "reply/"},
     {
       new Annotation(null, AnnotationType.MINOR_CORRECTION, null),
       URIGenerator.getPrefix() + "annotation/"
     },
     {
       new Annotation(null, AnnotationType.FORMAL_CORRECTION, null),
       URIGenerator.getPrefix() + "annotation/"
     },
     {new UserProfile(), URIGenerator.getPrefix() + "profile/"}
   };
 }