@Test(expectedExceptions = ValidationException.class)
public void applyValidationInvalidProcess() throws Exception {

    Process process = (Process) parser.parseAndValidate(getClass().getResourceAsStream(PROCESS_XML));
    process.getClusters().getClusters().get(0).setName("invalid cluster");
    parser.validate(process);
}