@Test
	public void simpleJobSequence() {
		js = parse("jobA || jobB");
		assertEquals("jobA || jobB", js.getJobDefinitionText());
		assertEquals("jobA || jobB", js.stringify());
		JobNode jn = js.getJobNode();
		assertFalse(jn.isSplit());
		assertTrue(jn.isFlow());
		assertEquals(2, jn.getSeriesLength());
		JobNode j1 = jn.getSeriesElement(0);
		JobNode j2 = jn.getSeriesElement(1);
		assertEquals("jobA[0>4]", j1.stringify(true));
		assertEquals("jobB[8>12]", j2.stringify(true));
	}
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