protected TestResult parseTestResult(final String inputFile) throws IOException {

        String fileAsString = fileUtil.readFile(inputFile);

        TestResult testResult = xmlToCamelRouteCoverageConverter.convert(fileAsString);

        assert testResult != null;

        return testResultParser.parse(testResult);
    }
@Test
    public void testParseTestResultNull() throws IllegalAccessException {

        FieldUtils.writeDeclaredField(processor, "xmlToCamelRouteCoverageConverter", converter, true);

        Mockito
                .doReturn(null)
                .when(converter).convert(any(String.class));

        Assertions.assertThrows(AssertionError.class, () -> processor.parseTestResult(inputFile()));
    }