public void GetLoanSummary() { // Arrange LoanController controller = new LoanController(new Services.LoanService()); // Act LoanSummaryDto result = controller.GetLoanSummary(50000, 19); // Assert Assert.IsNotNull(result); Assert.AreEqual(1058, result.WeeklyPayment); Assert.AreEqual(55016, result.TotalRepaid); Assert.AreEqual(5016, result.TotalInterest); }