### Question:
JarLoader implements ClassFileLoader { @Override public List<JarInfo> load(PreprocessConfig config) { log.info(PreprocessConstants.MESSAGE_PREFIX + "Loading packages"); if (config == null || config.getJarPaths() == null) { throw new NoModuleToInstrumentException(); } final List<JarInfo> packageEntries = new ArrayList<>(); for (String path : config.getJarPaths()) { final JarInfo info = loadJar(new File(path), new JarExportStrategy()); if (info != null) { packageEntries.add(info); } } if (packageEntries.isEmpty()) { throw new NoModuleToInstrumentException(); } return packageEntries; }  @Override List<JarInfo> load(PreprocessConfig config);  }### Answer:
@Test(expected = NoModuleToInstrumentException.class) public void testLoadFailWithEmptyPathList() { loader.load(config); }
@Test(expected = NoModuleToInstrumentException.class) public void testLoadFailWithNullConfig() { loader.load(null); }
@Test(expected = NoModuleToInstrumentException.class) public void testLoadFailWithNullPathList() { loader.load(PreprocessConfig.builder().build()); }