@Test
public void findDirectoryOnClasspath() throws Exception {

  File testDir = fileUtils.createDirInTempDir("testDir");
  File testFile = fileUtils.createFileInDir(testDir, "testFile");
  addFileToClasspath(testDir);
  File resultFile = ClassPathUtilities.findFileOnClassPath("testFile");
  assertNotNull(resultFile);
  assertEquals(testFile.getAbsolutePath(), resultFile.getAbsolutePath());
}