### Question:
Loan { public static Loan createRevolverLoan(double commitment, double outstanding, int customerRating, Date maturity, Date expiry){ return new Loan(null, commitment, outstanding, customerRating, maturity, expiry); } 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 testRevolverLoan() { Loan revolverLoan = Loan.createRevolverLoan(2.0, 1.0, 1, Date.from(Instant.now()), Date.from(Instant.now())); assertNotNull(revolverLoan); System.out.println("Test revolver loan"); }