@Inject
private Unpacker unpacker;
@Test
public void test() {
MyAnnotation a = getClass().getAnnotation(MyAnnotation.class);
MyAnnotation a2 = (MyAnnotation) testCodex(codex, a);
assertEquals(a2, a2);
assertEquals(a2, a);
assertEquals(a, a2);
assertEquals(5, a2.i());
assertEquals(1, a2.j());
assertEquals(2, a2.k()[0]);
assertEquals(3, a2.k()[1]);
OtherAnnotation o = getClass().getAnnotation(OtherAnnotation.class);
OtherAnnotation o2 = (OtherAnnotation) testCodex(codex, o);
assertEquals(o2, o2);
assertEquals(o, o2);