@Test()
public void validate() throws Exception {
ValidationResult result = null;
try {
InputStream input = this.getClass().getResourceAsStream(path);
ByteArrayDataSource bds = new ByteArrayDataSource(input);
result = validator.validate(bds);
Assert.assertFalse(path + " : Isartor file should be invalid ("
+ path + ")", result.isValid());
Assert.assertTrue(path + " : Should find at least one error",
result.getErrorsList().size() > 0);