### Question:
BackendPropertyAdapter extends AbstractReflectAdapter<T> implements PropertyAdapter<T, Object> { @Override public String getCaption(final T property) { try { return getAnnotatedFieldValue(property, Caption.class); } catch (Exception e) { LOG.error("Error obtaining annotated category for Property with id " + getId(property)); } return null; }  @Override String getId(final T property); @Override String getCaption(final T property); @Override Object getValue(final T property); @Override void setValue(final T property,
                         final Object value); @Override boolean accepts(final Class<?> pojo);  }### Answer:
@Test public void testGetCaption() { final String title = tested.getCaption(instance); assertEquals(FooProperty1TestBean.CAPTION, title); }