public virtual void TestCustomQueryParserWildcard() { Assert.Throws<ParseException>(() => new QPTestParser("contents", new WhitespaceAnalyzer()).Parse("a?t"), "Wildcard queries should not be allowed"); }