Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool
        public void SutEqualsOther()
        {
            var sut = new PropertyHeadlineMortgageApplicationProcessor();
            var other = new PropertyHeadlineMortgageApplicationProcessor();

            var actual = sut.Equals(other);

            Assert.True(actual);
        }
        public void SutDoesNotEqualAnonymousObject()
        {
            var sut = new PropertyHeadlineMortgageApplicationProcessor();
            var anonymous = new object();

            var actual = sut.Equals(anonymous);

            Assert.False(actual);
        }