public void GetHashCode_should_return_a_different_value_when_passed_another_instance_with_a_different_value() { var value1 = new PII("Test Value"); var value2 = new PII("Test Value"); value1.GetHashCode().Should().Be(value2.GetHashCode()); }
public void GetHashCode_should_return_the_same_value_as_another_instance_with_the_same_value() { var value1 = new PII("Test Value"); var value2 = new PII("Test Value"); value1.GetHashCode().Should().Be(value2.GetHashCode()); }