We start by writing a basic JUnit test that contains two test methods: testSuccessfulApplication() simulates a successful loan application and testAllFeedbackMessages() simulates a failed loan application and displays all the feedback messages.