### Question:
JarLoader implements ClassFileLoader { protected List<JarEntry> extractEntries(final JarFile jarFile) { final List<JarEntry> result = new ArrayList<>(); if (jarFile != null) { final Enumeration<JarEntry> entries = jarFile.entries(); while (entries.hasMoreElements()) { JarEntry e = entries.nextElement(); if (!e.isDirectory() && e.getName().endsWith(".class")) { result.add(e); } } } return result; }  @Override List<JarInfo> load(PreprocessConfig config);  }### Answer:
@Test public void testExtractEntriesWorks() { JarFile jarFile = MockEntities.makeMockJarFile(); List<JarEntry> entries = loader.extractEntries(jarFile); Assert.assertEquals(6, entries.size()); }