Assertions to support:
- ContainKey
- NotContainKey
- BeEmpty
- NotBeEmpty
- HaveCount
Etc....
Example:
var dictionary = new Dictionary<int, string>() { { 1, "One" } };
dictionary.Should().ContainKey(1);
dictionary.Should().NotContainKey(2);
dictionary.Should().NotBeEmpty();
dictionary.Should().HaveCount(1);
Comments: Associated with changeset 68296.
- ContainKey
- NotContainKey
- BeEmpty
- NotBeEmpty
- HaveCount
Etc....
Example:
var dictionary = new Dictionary<int, string>() { { 1, "One" } };
dictionary.Should().ContainKey(1);
dictionary.Should().NotContainKey(2);
dictionary.Should().NotBeEmpty();
dictionary.Should().HaveCount(1);
Comments: Associated with changeset 68296.