### Question:
Loan { public static Loan createTermLoan(double commitment, int riskTaking, Date maturity){ return new Loan(null, commitment, 0.00, riskTaking, maturity, null); } private  Loan(CapitalStrategy capitalStrategy, double commitment, double outstanding, int riskTaking, Date maturity, Date expiry); static Loan createTermLoan(double commitment, int riskTaking, Date maturity); static Loan createRevolverLoan(double commitment, double outstanding, int customerRating, Date maturity, Date expiry); static Loan createRevolverLoan(double commitment, int customerRating, Date maturity, Date expiry); static Loan createRCTLLoan(CapitalStrategy capitalStrategy, double commitment, int riskTaking, Date maturity, Date expiry);  }### Answer:
@Test public void testTermLoanNoPayments() { Loan termLoan = Loan.createTermLoan(2.0, 1, Date.from(Instant.now())); assertNotNull(termLoan); System.out.println("Test term loan"); }