public void Equals_WithSameTypeAndSameValues_ReturnsTrue() { var p = new Breach() { Name = "VALUE", }; var other = new Breach() { Name = "VALUE", }; Assert.True(p.Equals(other)); }
public void Equals_WithSameTypeButDifferentValues_ReturnsFalse() { var p = new Breach() { Name = "FIRST", }; var other = new Breach() { Name = "SECOND", }; Assert.False(p.Equals(other)); }
public void Equals_WithWrongTypeObject_ReturnsFalse() { var p = new Breach(); Assert.False(p.Equals(string.Empty)); }
public void Equals_WithNullObject_ReturnsFalse() { var p = new Breach(); Assert.False(p.Equals((object)null)); }