ILogParser parser = new HotSpotLogParser(UnitTestUtil.getNoOpJITListener());
parser.processLogFile(path.toFile(), UnitTestUtil.getNoOpParseErrorListener());
SplitLog log = parser.getSplitLog();
assertEquals(45, log.getHeaderLines().size());
// <tty> not counted as it envelopes the main XML
assertEquals(1, log.getLogCompilationLines().size());
assertEquals(8, log.getClassLoaderLines().size());
assertEquals("org.adoptopenjdk.jitwatch.demo.MakeHotSpotLog", parser.getVMCommand());
}