### Question:
FileUtils { private String[] findFiles(String path, FilenameFilter ff) { File f = new File(path); if (!f.isDirectory()) { LOG.log(Level.WARNING, f+" is not a directoy"); return null; } List<String> tmp = Arrays.asList(f.list(ff)); Collections.sort(tmp, new SortIgnoreCase()); return tmp.toArray(new String[tmp.size()]); } FileUtils(); protected  FileUtils(String rootDirectory); String[] findBlinkenFiles(); String[] findImagesFiles(); String getRootDirectory(); String getDataDir(); String getBmlDir(); String getImageDir(); List<PresetSettings> loadPresents(int nrOfElements); void savePresents(List<PresetSettings> presets);  }### Answer:
@Test public void findFilesTest() throws Exception { FileUtils fu = new FileUtilsJunit(); String[] bmlFiles = fu.findBlinkenFiles(); assertNotNull(bmlFiles); assertTrue(bmlFiles.length>2); String[] imgFiles = fu.findImagesFiles(); assertNotNull(imgFiles); assertTrue(imgFiles.length>2); assertFalse(fu.getRootDirectory().isEmpty()); List<PresetSettings> presets = fu.loadPresents(128); assertNotNull(presets); assertTrue(presets.size()>2); fu.savePresents(presets); }