public void testCreateWriterWithNullOutputStream() throws IOException {
        try {
            new DelimiterWriterFactory((Map) null).createWriter(null);
        } catch (final NullPointerException npe) {
            // this one was expected
        }
    }