void () { Condition<CharSequence> condition = FindInProjectUtil.createFileMaskCondition("*.java, *.js, !Foo.java, !*.min.js"); assertTrue(condition.value("Bar.java")); assertFalse(condition.value("Bar.javac")); assertFalse(condition.value("Foo.java")); assertFalse(condition.value("Foo.jav")); assertFalse(condition.value("Foo.min.js")); assertTrue(condition.value("Foo.js")); condition = FindInProjectUtil.createFileMaskCondition("!Foo.java"); assertTrue(condition.value("Bar.java")); assertFalse(condition.value("Foo.java")); assertTrue(condition.value("Foo.js")); assertTrue(condition.value("makefile")); }