@Test
	public void createTypedJobParametersWithCustomNumberFormat() throws Exception {

		final Message<String> message = MessageBuilder.withPayload("{\"param1(double)\":\"123,55\"}").build();

		final NumberFormat germanNumberFormat = NumberFormat.getInstance(Locale.GERMANY);
		transformer.setNumberFormat(germanNumberFormat);

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

		assertNotNull(jobParameters);

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

		assertEquals(Double.valueOf(123.55), jobParameters.getDouble("param1"));
	}
@author Gunnar Hillert
@author Ilayaperumal Gopinathan
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/plugins/job/JobLaunchRequestTransformerTests.java