|
|
|
|
@ -76,7 +76,7 @@ public class FilterAnnotationsTests {
@@ -76,7 +76,7 @@ public class FilterAnnotationsTests {
|
|
|
|
|
FilterAnnotations filterAnnotations = get(FilterByRegex.class); |
|
|
|
|
assertThat(match(filterAnnotations, ExampleWithAnnotation.class)).isFalse(); |
|
|
|
|
assertThat(match(filterAnnotations, ExampleWithoutAnnotation.class)).isTrue(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private FilterAnnotations get(Class<?> type) { |
|
|
|
|
Filters filters = AnnotatedElementUtils.getMergedAnnotation(type, Filters.class); |
|
|
|
|
|