@Test
public void testIgnoreHidden() throws IOException {

  fileFinder = new InputFileFinder(null, null, null, Charset.defaultCharset());
  File hiddenFolder = temp.newFolder(".test");
  Path hiddenSrc = hiddenFolder.toPath().resolve("Test.java");
  List<ClientInputFile> files = fileFinder.collect(root);
  assertThat(files).extracting("path").doesNotContain(hiddenSrc);
  assertThat(files).extracting("path").contains(src1.toString());
}