parser.validate(process);
}
@Test(expectedExceptions = ValidationException.class)
public void testDuplicateInputOutputNames() throws FalconException {
Process process = parser
.parseAndValidate((ProcessEntityParserTest.class
.getResourceAsStream(PROCESS_XML)));
process.getInputs().getInputs().get(0).setName("duplicateName");
process.getOutputs().getOutputs().get(0).setName("duplicateName");
parser.validate(process);
}