public void GetHashCode_ReturnsSameHashCodesForSameValues() { var p = new SiteBreach() { Name = "VALUE", }; var other = new SiteBreach() { Name = "VALUE", }; Assert.Equal(p.GetHashCode(), other.GetHashCode()); }
public void GetHashCode_ReturnsDifferentHashCodesForDifferentValues() { var p = new SiteBreach() { Name = "FIRST", }; var other = new SiteBreach() { Name = "SECOND", }; Assert.NotEqual(p.GetHashCode(), other.GetHashCode()); }