This is a Java console application to simulate banking activity. The application is quite simple but it provides a way to show examples on how to use JUnit, Hamcrest and Mockito.
Application Java Classes
- Bank - institution owning accounts
- BankAccount - account held by bank on behalf of a customer
- Person - customer of bank
- BankAccountApp - simple console interface to test classes
- Add Account
- Delete Account
- Edit Account
- Deposit
- Withdrawal
- Banking Account Aggregate Metrics
** Test Java Classes using JUnit, Hamcrest and Mockito **
- BankTest - test Bank class
- BankAccountTest - test BankAccount class
- PersonTest - test Person class
- ACHServiceTest - simple use of Mochito
- AllTests - runs all test
- Install Ecplise
- Setup a Maven Project to load the BankApplication
- Invoke BankAccountApp Main to launch console interface
- Run test classes as JUnit tests using Ecplise Run as Junit interface.