use of com.google.inject.matcher.Matcher in project candlepin by candlepin.
the class HibernateValidationAnnotationTest method runMap.
private void runMap(Map<Field, Matcher<AnnotatedElement>> fm) {
for (Map.Entry<Field, Matcher<AnnotatedElement>> entry : fm.entrySet()) {
Matcher<AnnotatedElement> matcher = entry.getValue();
Field field = entry.getKey();
assertTrue(matcher.matches(field));
}
}
Aggregations