@Test
public void testELExpressions() throws Exception {

    Process process = parser.parseAndValidate(getClass().getResourceAsStream(PROCESS_XML));
    process.getInputs().getInputs().get(0).setStart("lastMonth(0,0,0)");
    try {
        parser.validate(process);
        throw new AssertionError("Expected ValidationException!");
    } catch (ValidationException e) { }
    process.getInputs().getInputs().get(0).setStart("today(0,0)");
    process.getInputs().getInputs().get(0).setEnd("lastMonth(0,0,0)");
    try {
        parser.validate(process);
        throw new AssertionError("Expected ValidationException!");
    } catch (ValidationException e) { }
    process.getInputs().getInputs().get(0).setStart("today(2,0)");
    process.getInputs().getInputs().get(0).setEnd("today(0,0)");
    try {
        parser.validate(process);
        throw new AssertionError("Expected ValidationException!");
    } catch (ValidationException e) { }
}