Exemplo n.º 1
0
        public void SutDoesNotEqualAnonymousObject()
        {
            var sut       = new AdditionalApplicantsMortgageApplicationProcessor();
            var anonymous = new object();

            var actual = sut.Equals(anonymous);

            Assert.False(actual);
        }
Exemplo n.º 2
0
        public void SutEqualsOther()
        {
            var sut   = new AdditionalApplicantsMortgageApplicationProcessor();
            var other = new AdditionalApplicantsMortgageApplicationProcessor();

            var actual = sut.Equals(other);

            Assert.True(actual);
        }