public void CalculateTest( decimal amount, double duration, string expectedMonthlyPayment, string expectedTotalPaymentInInterestRate, string expectedTotalPayment, string expectedAdministrationFee) { var loan = new Loan(amount, duration); var result = _loanService.Calculate(loan); Assert.NotNull(result); Assert.Equal(result.MonthlyPayment, expectedMonthlyPayment); Assert.Equal(result.TotalPaymentInInterestRate, expectedTotalPaymentInInterestRate); Assert.Equal(result.TotalLoanPayment, expectedTotalPayment); Assert.Equal(result.AdministrationFee, expectedAdministrationFee); }