- Enclosing class:
- GenericTestUtils
public static class GenericTestUtils.SleepAnswer
extends Object
An Answer implementation which sleeps for a random number of milliseconds
between 0 and a configurable value before delegating to the real
implementation of the method. This can be useful for drawing out race
conditions.