void () { test("'a:[!regexw(a)&&formal(*List)]"); assertEquals("$a$", myOptions.getSearchPattern()); final MatchVariableConstraint constraint = myOptions.getVariableConstraint("a"); assertTrue(constraint.isWholeWordsOnly()); assertEquals("a", constraint.getRegExp()); assertTrue(constraint.isInvertRegExp()); assertTrue(constraint.isFormalArgTypeWithinHierarchy()); assertFalse(constraint.isInvertFormalType()); assertEquals("List", constraint.getNameOfFormalArgType()); }