public void read_method_annotation_overrides_write_method_annotation()
{
PropertyAdapter pa = _access.getAdapter(AnnotatedBean.class).getPropertyAdapter(
"annotationOnRead");
Lifecycle annotation = pa.getAnnotation(Lifecycle.class);
assertNotNull(annotation);
assertEquals(annotation.value(), "onread");
}