@Test
	public void multiLine() {
		js = parse("<foo\n"
				+ "  | 'completed'=kill\n"
				+ "  | '*' = custard\n"
				+ "  & bar>");
		assertEquals("<foo\n"
				+ "  | 'completed'=kill\n"
				+ "  | '*' = custard\n"
				+ "  & bar>", js.getJobDefinitionText());
		assertEquals("<foo | 'completed' = kill | '*' = custard & bar>", js.stringify());
		//		assertEquals("<foo | 'completed' = kill | '*' = custard & bar>", js.format());
	}
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