@Test(expected = IllegalStateException.class) public void shouldThrowAnExceptionWhenReportDoesNotExist() throws Exception { parser.parse(new File("target/unexistingFile.xml")); }
public TestSuites parse(File report) { try { return processRoot(report, inputFactory()); } catch (XMLStreamException e) { throw new IllegalStateException("Can't read PhpUnit report : " + report.getAbsolutePath(), e); } }
JUnitLogParserForPhpUnit { public TestSuites parse(File report) { try { return processRoot(report, inputFactory()); } catch (XMLStreamException e) { throw new IllegalStateException("Can't read PhpUnit report : " + report.getAbsolutePath(), e); } } }
JUnitLogParserForPhpUnit { public TestSuites parse(File report) { try { return processRoot(report, inputFactory()); } catch (XMLStreamException e) { throw new IllegalStateException("Can't read PhpUnit report : " + report.getAbsolutePath(), e); } }  }
JUnitLogParserForPhpUnit { public TestSuites parse(File report) { try { return processRoot(report, inputFactory()); } catch (XMLStreamException e) { throw new IllegalStateException("Can't read PhpUnit report : " + report.getAbsolutePath(), e); } }  TestSuites parse(File report); static SMInputFactory inputFactory(); }
JUnitLogParserForPhpUnit { public TestSuites parse(File report) { try { return processRoot(report, inputFactory()); } catch (XMLStreamException e) { throw new IllegalStateException("Can't read PhpUnit report : " + report.getAbsolutePath(), e); } }  TestSuites parse(File report); static SMInputFactory inputFactory();  }