@Test
public void test_getAllDeclaredMethodsFromSubClassByAnnotation() {

    List<Method> methods = getAllDeclaredMethodsAnnotatedWith(
            SubClassToExamine.class, UiDataSource.class);
    assertEquals(2, methods.size());
    Collections.sort(methods, new MethodByNameComparator());
    assertEquals("getDataFromBase", methods.get(0).getName());
    assertEquals("getDataFromSub", methods.get(1).getName());
}