public void testCreateParserWithMalformedMappingFile() throws Exception {
        try {
            final InputStream mapping = this.getClass().getClassLoader().getResourceAsStream("BrokenMapping.pzmap.xml");
            final InputStreamReader mappingReader = new InputStreamReader(mapping);
            new FixedWriterFactory(mappingReader);
            Assert.fail();
        } catch (final InitialisationException ie) {
            // this excecption must occur, mapping xml is invalid
        }
    }