### Question:
JarArchive implements Archive { public Class<?> loadClass(String className) throws ClassNotFoundException { return loader.loadClass(className); } JarArchive(ClassLoader loader, URL url); URL getUrl(); InputStream getBytecode(String className); Class<?> loadClass(String className); Iterator<Entry> iterator();  }### Answer:
@Test public void testLoadClass() throws Exception { for (Class clazz : classes) { assertEquals(clazz.getName(), clazz, archive.loadClass(clazz.getName())); } try { archive.loadClass("Fake"); fail("ClassNotFoundException should have been thrown"); } catch (ClassNotFoundException e) { } }