public void SkipFilterThrowsExceptionIfStringIsLessThanRequestedChars() { var filter = new SkipFilter(4); Assert.Throws <InvalidOperationException>(() => filter.Apply("Foo")); }
public void SkipFilterSkipsTheFirstNCharacters() { var filter = new SkipFilter(1); Assert.Equal("oo", filter.Apply("Foo")); }