@Test
public void testMatches_GlobInDir() {

  // - preparation
  final Path root= Paths.get("/my/root/");
  final String[] includes= {
    "sub/f*/my.properties"
  };
  final String[] excludes= {
  };
  final FileMatcher fileMatcher= new FileMatcher(root, includes, excludes);
  // - execution && verification
  assertThat(fileMatcher.matches(Paths.get("/my/root/my.properties"))).isFalse();
  assertThat(fileMatcher.matches(Paths.get("/my/root/sub/my.properties"))).isFalse();
  assertThat(fileMatcher.matches(Paths.get("/my/root/sub/foo/my.properties"))).isTrue();
  assertThat(fileMatcher.matches(Paths.get("/my/root/sub/f/my.properties"))).isTrue();
  assertThat(fileMatcher.matches(Paths.get("/my/root/sub/fantasy/my.properties"))).isTrue();
  assertThat(fileMatcher.matches(Paths.get("/my/root/sub/pants/my.properties"))).isFalse();
}