Description: In the previous excerpt from Java Extreme Programming Cookbook we showed you how to create a mock implementation of an event listener interface, and how to avoid duplicated validation logic in your tests. This week we offer a sampling from Chapter 8 (\"JUnitPerf\") on creating a load test, and one from Chapter 9 (\"XDoclet\") on executing a custom template.