3.3 Unit Testing
In this lesson, we learn how to use the popular JUnit testing framework to write unit tests for our
CreditCard class to ensure that it’s working properly. We’ll also write a
CreditCardTester class, which can be used to run our program within the console.