### Question:
Classpath { public static Entry doParseJar(String path) { return new JarEntry(path); }  static Entry parse(String classpath); static Entry doParseCompositeEntry(String classpath); static Entry parseEntry(String path); static Entry doParseWildcard(String path); static Entry doParseJar(String path); static Entry doParseDir(String path); static boolean isDir(String path); static boolean isWildcard(String path); static boolean isJar(String path);  }### Answer:
@Test public void doParseJar() { Entry entry = Classpath.doParseJar(exampleJarPath().toFile().getAbsolutePath()); ClassFile cf = entry.findClass("Hello"); assertNotNull(cf); }
@Test public void doParseJar_jre_object() { String home = System.getenv("JAVA_HOME"); Path jarPath = Paths.get(home, "jre", "lib", "rt.jar"); Entry entry = Classpath.doParseJar(jarPath.toFile().getAbsolutePath()); ClassFile cf = entry.findClass("java/lang/Object"); assertNotNull(cf); }