public void GetHashCode_WhenCalled_ReturnsSameForSameValue()
        {
            var testInput1 = IntegerGenerator.AnyPositiveInteger();
            var testInput2 = IntegerGenerator.AnyPositiveInteger();

            var expected = new TestObjectA(testInput1, testInput2).GetHashCode();
            var actual   = new TestObjectA(testInput1, testInput2).GetHashCode();

            actual.Should().Be(expected);
        }
        public void GetHashCode_WhenCalled_ReturnsDifferentForDifferentValue()
        {
            var testInput1 = IntegerGenerator.AnyPositiveInteger();
            var testInput2 = IntegerGenerator.AnyPositiveInteger();
            var testInput3 = IntegerGenerator.AnyIntegerExcept(testInput2);

            var test1  = new TestObjectA(testInput1, testInput2).GetHashCode();
            var actual = new TestObjectA(testInput1, testInput3).GetHashCode();

            actual.Should().NotBe(test1);
        }