@Override
    public char readChar(@Nonnull String fieldName) throws IOException {
        FieldDefinition fd = cd.getField(fieldName);
        if (fd == null) {
            return 0;
        }
        validateTypeCompatibility(fd, CHAR);
        return super.readChar(fieldName);
    }
@Test
    public void testReadChar() throws Exception {
        char aChar = reader.readChar("char");

        assertEquals(2, aChar);
        assertEquals(0, reader.readChar("NO SUCH FIELD"));
    }