public virtual void TestProtectedCtors()
{
// If the return type is not null, then fail the assertion.
Assert.IsNull(typeof (QueryParser).GetConstructor(new System.Type[] {typeof (ICharStream)}),
"please switch public QueryParser(CharStream) to be protected");
// Same for the constructor for the constructor with the query parser token manager.
Assert.IsNull(typeof(QueryParser).GetConstructor(new System.Type[] { typeof(QueryParserTokenManager) }),
"please switch public QueryParser(QueryParserTokenManager) to be protected");
}