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

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

            var actual = sut.Equals(other);

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

            var actual = sut.Equals(anonymous);

            Assert.False(actual);
        }