### Question:
Launcher { public static void main(String[] args) { Parameter param = new ParameterParser().getParam(args); if (param == null) return; ObjectFactory objectManager = new ObjectFactory(param); new CoverChecker(objectManager.getCoverageReportParser(), objectManager.getDiffReader(), objectManager.getNewCoverageParser(), objectManager.getReporter()).check(param); }  static void main(String[] args);  }### Answer:
@Test public void testMain() { Launcher.main(new String[]{""}); assertThrows(NullPointerException.class, () -> Launcher.main("-c path -t 80 -dt file".split(" "))); }