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