@Test
	public void argumentsNeedQuotesAroundArgValueWithSpaces() {
		String dsl = "foo || transform bar --expression=new StringBuilder(payload).reverse() || bar";
		if (JobParser.SUPPORTS_INLINE_JOB_DEFINITIONS) {
			checkForParseError(dsl, JobDSLMessage.UNEXPECTED_DATA_AFTER_JOBSPEC, 38);
			// TODO [asc] How/when are the quotes removed for these argument values?
			js = parse("foo || transform bar --expression='new StringBuilder(payload).reverse()' || bar");
		}
		else {
			checkForParseError(dsl, JobDSLMessage.EXPECTED_FLOW_OR_SPLIT_CHARS, 17, "bar");
		}
	}
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