2 Answers

MockitoAnnotations allow you to declare all your captors at the head of your test class, then just use them where needed rather than declaring/initialising them each time. They also permit you to setup a captor for a generic item such as a list, where the traditional approach doesn't work because there are no separate classes for generics.

Using DefaultBookingCommandServiceTest as an example, under all the variable declarations is a set of captor definitions: