void () { getConf().addResourceFilePattern("*.t?t"); assertTrue(getConf().isResourceFile(createFile("foo/bar.txt"))); assertTrue(getConf().isResourceFile(createFile("foo/bar.ttt"))); assertTrue(getConf().isResourceFile(createFile("foo/bar.tyt"))); assertFalse(getConf().isResourceFile(createFile("foo/bar.xml"))); }