Case Study

Unit Testing

Previous Next
The techniques for unit testing POJOs like domain model objects are the same as those shown in the User Guide Tutorial. Unit testing of the business logic introduces a new problem, since the business logic classes depend on the data access layer, which interacts with the database. For these tests, the Case Study tutorial shows how to employ mock objects.
Previous Next