113114115116117118119
assertEquals( violations.size(), 1 ); } @Test(expectedExceptions = ValidationException.class, expectedExceptionsMessageRegExp = "HV000182.*") public void shouldRaiseExceptionIfNoMatchingUnwrapperIsFound() { validator.validate( new Order() ); }