@Test
	public void failTransition() {
		js = parse("jobA | BROKEN=$FAIL");
		assertEquals("jobA | BROKEN = $FAIL", js.stringify());
		js = parse("jobA|BROKEN=$FAIL");
		assertEquals("jobA | BROKEN = $FAIL", js.stringify());
		js = parse("jobA |BROKEN =$FAIL");
		assertEquals("jobA | BROKEN = $FAIL", js.stringify());
		js = parse("jobA |BROKEN= $FAIL");
		assertEquals("jobA | BROKEN = $FAIL", js.stringify());
	}
Parse job specifications and verify either the correct abstract syntax tree is produced or the current exception comes out.
The parser does no semantic validation, it is purely syntax checking.

@author Andy Clement
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/job/dsl/JobParserTests.java