@Test
public void testValidationViolation() {

    ValidationViolation violation = new ValidationViolation("myid2", ValidationMessageSeverity.DEBUG, "message1", Paths.get("child1"), Paths.get("base1"), "nodepath2", 10, 20, null);
    Assert.assertEquals("myid2", violation.getValidatorId());
    Assert.assertEquals(ValidationMessageSeverity.DEBUG, violation.getSeverity());
    Assert.assertEquals("message1", violation.getMessage());
    Assert.assertEquals(Paths.get("base1","child1"), violation.getAbsoluteFilePath());
    Assert.assertEquals("nodepath2", violation.getNodePath());
    Assert.assertEquals(10, violation.getLine());
    Assert.assertEquals(20, violation.getColumn());
}