assert a2.value().equals("value");
}
@Test
public void inheritable() throws Exception {
InheritableMarker annotation = Base.class.getAnnotation(InheritableMarker.class);
assert annotation != null;
assert annotation.value().equals("parent");
assert annotation == Parent.class.getAnnotation(InheritableMarker.class);
annotation = Child.class.getAnnotation(InheritableMarker.class);
assert annotation != null;
assert annotation.value().equals("child");
assert annotation != Parent.class.getAnnotation(InheritableMarker.class);
}