@Test
	public void createJobParametersUsingTupleWithUniqueParam() throws Exception {

		final Tuple tuple = TupleBuilder.tuple().of("foo", "123,456");
		final Message<Tuple> message = MessageBuilder.withPayload(tuple).build();

		final JobLaunchRequest jobLaunchRequest = transformer.toJobLaunchRequest(message);
		final JobParameters jobParameters = jobLaunchRequest.getJobParameters();

		assertNotNull(jobParameters);
		assertTrue(jobParameters.getParameters().size() == 2);

		assertEquals("123,456", jobParameters.getString("foo"));
		assertNotNull(jobLaunchRequest.getJobParameters().getString("random"));
	}
@author Gunnar Hillert
@author Ilayaperumal Gopinathan
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/plugins/job/JobLaunchRequestTransformerTests.java