Пример #1
0
        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());
        }
Пример #2
0
        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());
        }