public int exceptionCount() {
        return this.exceptionCount;
    }
@Test
    public void testFileWithManyFlaws() {

        NopParser parser = new NopParser(new File(FILE_WITH_LOTS_OF_BAD_LINES));

        assertDoesNotThrow(() -> parseAllMessages(parser));

        assertEquals(10000, parser.exceptionCount());
    }