public void MapMoneyWillReturnCorrectResult(Money money, ContractMapper sut) { // Fixture setup var expectedContract = money.AsSource().OfLikeness<MoneyContract>(); // Exercise system MoneyContract result = sut.Map(money); // Verify outcome Assert.True(expectedContract.Equals(result)); // Teardown }
public void MapMoneyWillReturnCorrectResult(Money money, ContractMapper sut) { // Fixture setup var expectedContract = money.AsSource().OfLikeness <MoneyContract>(); // Exercise system MoneyContract result = sut.Map(money); // Verify outcome Assert.True(expectedContract.Equals(result)); // Teardown }