These examples cover the main features of JUnit 4, such as:
- JUnit 4 tests lifecycle.
- Assertions.
- Conditional test execution.
- Test interfaces.
- Test templates.
- Parameterized tests.
Moreover, the integration with third-party technologies is also illustrated with examples, concretely:
- Mockito (popular mock framework).
- Docker (container platform technology).