@Test
public void testWrapMessagesNoOverwrite() {

    Collection<ValidationViolation> violations = ValidationViolation.wrapMessages(null, messages, null, null, null, 0, 0);
    ValidationExecutorTest.assertViolation(violations, ValidationMessageSeverity.DEBUG, 
            new ValidationViolation(ValidationMessageSeverity.DEBUG, "message1"),
            new ValidationViolation(null, ValidationMessageSeverity.INFO, "message2", null, null, null, 1, 2, myThrowable1),
            ValidationViolation.class.cast(messages.get(2)),
            ValidationViolation.class.cast(messages.get(3)));
}