public void DoesntFindAMatchWhenMatchIsBeforeStartIndex() { string source = "Some!String"; var matcher = new ExcludeStringMatcher(source); matcher.SetStartIndex(5); Assert.Null(matcher.FindNextIndex('!')); }