### Question:
JarArchive implements Archive { public InputStream getBytecode(String className) throws IOException, ClassNotFoundException { int pos = className.indexOf("<"); if (pos > -1) { className = className.substring(0, pos); } pos = className.indexOf(">"); if (pos > -1) { className = className.substring(0, pos); } if (!className.endsWith(".class")) { className = className.replace('.', '/') + ".class"; } ZipEntry entry = jar.getEntry(className); if (entry == null) throw new ClassNotFoundException(className); return jar.getInputStream(entry); } JarArchive(ClassLoader loader, URL url); URL getUrl(); InputStream getBytecode(String className); Class<?> loadClass(String className); Iterator<Entry> iterator();  }### Answer:
@Test public void testGetBytecode() throws Exception { for (Class clazz : classes) { assertNotNull(clazz.getName(), archive.getBytecode(clazz.getName())); } try { archive.getBytecode("Fake"); fail("ClassNotFoundException should have been thrown"); } catch (ClassNotFoundException e) { } }