public IsSatisfiedBy ( |
||
application | ||
return | bool |
public void IsSatisfiedByReturnsTrueIfCurrentPropertyHasValue() { var application = new MortgageApplication { CurrentPropertyWillBeSoldToFinanceNewProperty = true }; var sut = new CurrentPropertySoldAsFinancingMortgageApplicationSpecification(); var actual = sut.IsSatisfiedBy(application); Assert.True(actual); }
public void IsSatisfiedByReturnsFalseIfCurrentPropertyIsNull() { var application = new MortgageApplication { CurrentPropertyWillBeSoldToFinanceNewProperty = false }; var sut = new CurrentPropertySoldAsFinancingMortgageApplicationSpecification(); var actual = sut.IsSatisfiedBy(application); Assert.False(actual); }