This is a JUnit example for a savings account class. Make sure you have JUnit installed to run the code
JUnit example with a savings account class