@Test
	public void testReadBlankInt() {

		// Trying to parse a blank field as an integer, but without a default
		// value should throw a NumberFormatException
		try {
			tuple.getInt(13);
			fail();
		}
		catch (ConversionFailedException ex) {
			// expected
		}

		try {
			tuple.getInt("BlankInput");
			fail();
		}
		catch (ConversionFailedException ex) {
			// expected
		}

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