@Before
	public void setUp() throws Exception {

		Object[] tokens = new String[] { "TestString", "true", "C", "10", "-472", "354224", "543", "124.3", "424.3",
			"1,3245",
			null, "2007-10-12", "12-10-2007", "" };
		String[] nameArray = new String[] { "String", "Boolean", "Char", "Byte", "Short", "Integer", "Long", "Float",
			"Double",
			"BigDecimal", "Null", "Date", "DatePattern", "BlankInput" };

		names = Arrays.asList(nameArray);
		values = Arrays.asList(tokens);
		/*
		 * values = new ArrayList<Object>(); for (String token : tokens) { values.add(token); }
		 */
		tuple = tuple().ofNamesAndValues(names, values);
		assertEquals(14, tuple.size());

	}
This is a port of the FieldSet tests from Spring Batch
spring-xd-tuple/src/test/java/org/springframework/xd/tuple/DefaultTupleTestForBatch.java