It'll lets us write:
assertSingleConstraintViolation( violations, NotNull.class, "may not be null" );
instead of:
assertNumberOfViolations( violations, 1 ); assertConstraintViolation( violations.iterator().next(), NotNull.class, "may not be null" );