public virtual void TestInvalidInput2() { bool gotException = false; try { new NGramTokenFilter(TEST_VERSION_CURRENT, input, 0, 1); } catch (System.ArgumentException) { gotException = true; } assertTrue(gotException); }