public void interestByLoanType_LoanTypeIsHousing_ReturnsCorrectValue() { LoanBusinessLogic businessLogic = new LoanBusinessLogic(); float result = businessLogic.interestByLoanType("housing"); Assert.AreEqual(result, 0.035f); }
public void interestByLoanType_LoanTypeDoesNotExist_ThrowsException() { LoanBusinessLogic businessLogic = new LoanBusinessLogic(); businessLogic.interestByLoanType("someFakeLoanType"); }