public void ExcelAttributeCollection_Contains_ExistingKey_IgnoresCase() { // Arrange var key = "key"; var value = "value"; var list = new ExcelAttributeCollection(); list.Add(key, value); // Act var exists = list.Contains("KEY"); // Assert Assert.IsTrue(exists); }
public void ExcelAttributeCollection_Contains_NotExistingKey() { // Arrange var key = "key"; var value = "value"; var list = new ExcelAttributeCollection(); list.Add(key, value); // Act var exists = list.Contains("wrongkey"); // Assert Assert.IsFalse(exists); }