@Test
public void test_getAllDeclaredFieldsFromBaseClassByAnnotation() {

    List<Field> fields = getAllDeclaredFieldsAnnotatedWith(
            BaseClassToExamine.class, UiField.class);
    assertEquals(1, fields.size());
    assertEquals("textFieldBase", fields.get(0).getName());
}