public void testWriteStringWiderThanColumnDefinition() throws Exception {
        final StringWriter out = new StringWriter();
        final Writer writer = new FixedWriterFactory(this.getMapping()).createWriter(out);
        try {
            writer.addRecordEntry("STATE", "THISISTOOLONG");
            Assert.fail("writing entries that are too long should fail");
        } catch (final IllegalArgumentException iae) {
            // expected exception
        }
    }