map.put("param1", "Kenny");
map.put("param2", "Cartman");
final Message<Map<String, String>> message = MessageBuilder.withPayload(map).build();
final JobLaunchRequest jobLaunchRequest = transformer.toJobLaunchRequest(message);
assertNotNull(jobLaunchRequest.getJobParameters());
assertTrue(jobLaunchRequest.getJobParameters().getParameters().size() == 3);
assertEquals("Kenny", jobLaunchRequest.getJobParameters().getString("param1"));
assertEquals("Cartman", jobLaunchRequest.getJobParameters().getString("param2"));
assertNotNull(jobLaunchRequest.getJobParameters().getString("random"));
}