@Test
	public void testReadDateWithFormat() throws Exception {
		SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
		Tuple t = TupleBuilder.tuple()
				.setFormats(null, dateFormat)
				.setConfigurableConversionService(new DefaultTupleConversionService())
				.of("foo", "13/01/1999");
		assertEquals(dateFormat.parse("13/01/1999"), t.getDate(0));
	}
This is a port of the FieldSet tests from Spring Batch
spring-xd-tuple/src/test/java/org/springframework/xd/tuple/DefaultTupleTestForBatch.java