Chapter 7. Unit Testing
In this chapter, we will cover the following recipes:
- Unit testing with JUnit 4
- Unit testing with TestNG 6
- Simulating dependencies with mocks using Mockito
- Unit testing with JUnit 4 using Spring's application context
- Unit testing with TestNG 6 using Spring's application context
- Unit testing with transactions
- Unit testing controller methods