@Test(timeout=10000)
public void testFindContainingJar() {

  String containingJar = ClassUtil.findContainingJar(Logger.class);
  Assert.assertNotNull("Containing jar not found for Logger", 
      containingJar);
  File jarFile = new File(containingJar);
  Assert.assertTrue("Containing jar does not exist on file system ",
      jarFile.exists());
  Assert.assertTrue("Incorrect jar file " + containingJar,
      jarFile.getName().matches("log4j.*[.]jar"));
}