public void Equals_should_return_false_when_passed_another_instance_with_a_different_value() { var value1 = new PII("Test Value"); var value2 = new PII("Different Value"); value1.Equals(value2).Should().BeFalse(); }
public void Equals_should_return_true_when_passed_another_instance_with_the_same_value() { var value1 = new PII("Test Value"); var value2 = new PII("Test Value"); value1.Equals(value2).Should().BeTrue(); }
public void Equals_should_return_false_when_passed_null() { var value1 = new PII(testValue); value1.Equals(null).Should().BeFalse(); }