@Test
public void testFindAllClassesWithAnnotationWithCondition() throws Exception {

    Set<Class<?>> classes = ReflectionUtils.findAllClassesWithAnnotation(
            ReflectionUtilsTest.class.getPackage().getName(),
            TestAnnotaion.class,
            c -> c.getAnnotation(TestAnnotaion.class).value() == Types.T1);
    assertTrue(classes.contains(TestAnnotatedClass.class));
}