JBoss.org Community Documentation

Chapter 8. Testing with AOP

8.1. Testing Exception Handling
8.2. Injecting Mock Objects
8.2.1. Required Knowledge
8.2.2. The Problem
8.2.3. Mock Objects
8.2.4. AOP with Mocks

In the previous sections we talked more about using AOP to build and design applications and services. This chapter focuses on how you can use AOP to test your applications.