@Test
  public void testExpandedClasspath() throws Exception {
    // picking a class that is for sure in a directory in the classpath
    // in this case the JAR is created on the fly
    String jar = JarFinder.getJar(TestJarFinder.class);
    Assert.assertTrue(new File(jar).exists());
  }
This file was forked from hadoop/common/branches/branch-2@1350012.
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/mapreduce/TestJarFinder.java