public void Equals_ReturnFalseForNull() { Tag target = new Tag("test-key", "test-value"); object other = null; Assert.False(target.Equals(other)); }
public void Equals_ReturnFalseForDifferentValues() { Tag target = new Tag("test-key", "test-value"); Tag other = new Tag("test-key", "different-value"); Assert.False(target.Equals(other)); }
public void Equals_ReturnTrueForSameKeyAndValue() { Tag target = new Tag("test-key", "test-value"); Tag other = new Tag("test-key", "test-value"); Assert.True(target.Equals(other)); }
public void Equals_ReturnFalseForOtherObject() { Tag target = new Tag("test-key", "test-value"); string other = "Test"; Assert.False(target.Equals(other)); }