@Test public void testEquality() { Annotation real = getClass().getAnnotation(UniqueAnnotations.UniqueAnnotation.class); Annotation fake = UniqueAnnotations.create(100); assertThat(real, equalTo(fake)); assertThat(fake, equalTo(real)); }
public static Annotation create() { return create(SEQUENCE.getAndIncrement()); }
UniqueAnnotations { public static Annotation create() { return create(SEQUENCE.getAndIncrement()); } }
UniqueAnnotations { public static Annotation create() { return create(SEQUENCE.getAndIncrement()); } private  UniqueAnnotations(); }
UniqueAnnotations { public static Annotation create() { return create(SEQUENCE.getAndIncrement()); } private  UniqueAnnotations(); static Annotation create(); }
UniqueAnnotations { public static Annotation create() { return create(SEQUENCE.getAndIncrement()); } private  UniqueAnnotations(); static Annotation create();  }