public void RemovingTermThatIsNotInListDoesNothing() { var history = new RuntimeSearchHistory(); const string anything = nameof(anything); history.RemoveEntry(anything); var entries = history.SearchedTerms(); Assert.Empty(entries); }
public void RemovedTermIsNotYielded() { var history = new RuntimeSearchHistory(); const string expectedTerm = "anything"; history.AddEntry(expectedTerm); history.RemoveEntry(expectedTerm); var entries = history.SearchedTerms(); Assert.Empty(entries); }