@Test
	public void testJobWithParams() {
		List<ModuleDescriptor> requests = parser.parse("myJob", "job --foo=bar", job);
		assertEquals(1, requests.size());
		ModuleDescriptor job = requests.get(0);
		assertEquals("job", job.getModuleName());
		assertEquals("myJob", job.getGroup());
		assertEquals(0, job.getIndex());
		assertEquals(ModuleType.job, job.getType());
		assertEquals(1, job.getParameters().size());
		assertEquals("bar", job.getParameters().get("foo"));
	}
@author Mark Fisher
@author David Turanski
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/stream/XDStreamParserTests.java