@Test
	public void testReadCharException() {
		try {
			tuple.getChar(1);
			fail("the value read was not a character, exception expected");
		}
		catch (IllegalArgumentException expected) {
			assertTrue(true);
		}

		try {
			tuple.getChar("Boolean");
			fail("the value read was not a character, exception expected");
		}
		catch (IllegalArgumentException expected) {
			assertTrue(true);
		}
	}
This is a port of the FieldSet tests from Spring Batch
spring-xd-tuple/src/test/java/org/springframework/xd/tuple/DefaultTupleTestForBatch.java