@Test
	public void testTranformer() throws Exception {
		JsonToTupleTransformer transformer = new JsonToTupleTransformer();
		String json = "{\"one\":1, \"two\":2, \"three\":\"tres\"}";
		Tuple tuple = transformer.transformPayload(json);
		assertThat(tuple.size(), equalTo(3));
		assertThat(tuple.getValue("one", Integer.class), equalTo(1));
		assertThat(tuple.getValue("two", Integer.class), equalTo(2));
		assertThat(tuple.getString("three"), equalTo("tres"));
	}
Unit test for JsonToTupleTransformer.

@author Mark Fisher
spring-xd-tuple/src/test/java/org/springframework/xd/tuple/integration/JsonToTupleTransformerTests.java