public void NotEqualsFilter_matches_should_return_true_when_value_is_not_equals(string key, string value) { var filter = new NotEqualsTagFilter(key, value); filter.Matches(new TagCollection { { key, Guid.NewGuid().ToString() } }).Should().BeTrue(); }
public void NotEqualsFilter_matches_should_return_true_when_collection_has_no_key() { var filter = new NotEqualsTagFilter("tag", "value"); filter.Matches(new TagCollection { "tag1", { "tag2", "value2" } }).Should().BeTrue(); }
public void NotEqualsFilter_matches_should_return_false(string key, string value) { var filter = new NotEqualsTagFilter(key, value); filter.Matches(new TagCollection { { key, value } }).Should().BeFalse(); }
public void NotEqualsFilter_matches_should_return_true_when_collection_is_null() { var filter = new NotEqualsTagFilter("tag", "value"); filter.Matches(null).Should().BeTrue(); }