@Test
	public void createJobParametersWithUTFString() throws Exception {

		/** I want to go to Japan. */
		final String stringToPostInJapanese = "\u65e5\u672c\u306b\u884c\u304d\u305f\u3044\u3002";

		final Message<String> message = MessageBuilder.withPayload("{\"param1\":\"" + stringToPostInJapanese
				+ "\"}").build();

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

		assertNotNull(jobParameters);
		assertTrue(jobParameters.getParameters().size() == 2);
		assertEquals(stringToPostInJapanese, jobParameters.getString("param1"));
	}
@author Gunnar Hillert
@author Ilayaperumal Gopinathan
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/plugins/job/JobLaunchRequestTransformerTests.java