void () { getConf().addResourceFilePattern("**/foo/*"); assertTrue(getConf().isResourceFile(createFile("foo/bar.ttt"))); assertTrue(getConf().isResourceFile(createFile("goo/foo/bar.ttt"))); assertFalse(getConf().isResourceFile(createFile("goo/foo.zzz"))); assertTrue(getConf().isResourceFile(createFile("goo/foo/zzz"))); }