void () { assertMatches("a ", "alpha + beta"); assertMatches("a ", "a "); assertMatches("a ", "a"); assertMatches("GrDebT ", "GroovyDebuggerTest"); assertDoesntMatch("grdebT ", "GroovyDebuggerTest"); assertDoesntMatch("grdebt ", "GroovyDebuggerTest"); assertMatches("Foo ", "Foo"); assertDoesntMatch("Foo ", "FooBar"); assertDoesntMatch("Foo ", "Foox"); assertDoesntMatch("Collections ", "CollectionSplitter"); assertMatches("CollectionS ", "CollectionSplitter"); assertMatches("*run ", "in Runnable.run"); assertDoesntMatch("*l ", "AppDelegate"); assertDoesntMatch("*le ", "AppDelegate"); assertDoesntMatch("*leg ", "AppDelegate"); }