@Test
public void testIdentifyClassFilesWithNotExistingDir() {

    Map<String, String> parameters = Maps.newHashMap();
    parameters.put("baseDir", "not/existing/dir");
    parameters.put("includes", "**/*.class");
    parameters.put("excludes", "**/*Test.class");
    List<File> files = FileNameUtil.identifyFiles(parameters);
    assertThat(files, hasSize(0));
}