@Test
	public void nestedSplit1() {
		js = parse("<<jobA & jobB> & jobC>");
		assertEquals("<<jobA & jobB> & jobC>", js.getJobDefinitionText());
		assertEquals("<<jobA & jobB> & jobC>", js.stringify());
		JobNode jn = js.getJobNode();
		assertTrue(jn.isSplit());
		Split pjs = (Split) jn;
		assertEquals(2, pjs.getSeriesLength());
		JobNode j1 = pjs.getSeriesElement(0);
		assertTrue(j1.isSplit());
		assertEquals(2, j1.getSeriesLength());
		JobNode j2 = pjs.getSeriesElement(1);
		assertFalse(j2.isSplit());
	}
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