public void TestCustomizableStopWordProvider() { try { IStopWordProvider swp = new CustomizableStopWordProvider(); Assert.IsNotNull(swp); Assert.IsTrue(swp.IsStopWord("a")); Assert.IsTrue(swp.IsStopWord("zero")); Assert.IsTrue(!swp.IsStopWord("notastopword")); } catch (Exception ex) { Assert.Fail(ex.ToString()); } }