Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
        public void SutEqualsOther()
        {
            var sut = new CurrentPropertySoldAsFinancingMortgageApplicationSpecification();
            var other = new CurrentPropertySoldAsFinancingMortgageApplicationSpecification();

            var actual = sut.Equals(other);

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

            var actual = sut.Equals(anonymous);

            Assert.False(actual);
        }