public static class GenericTestUtils.SleepAnswer extends Object implements org.mockito.stubbing.Answer<Object>
Modifier and Type | Field and Description |
---|---|
private int |
maxSleepTime |
private static Random |
r |
Constructor and Description |
---|
SleepAnswer(int maxSleepTime) |
Modifier and Type | Method and Description |
---|---|
Object |
answer(org.mockito.invocation.InvocationOnMock invocation) |
private final int maxSleepTime
public SleepAnswer(int maxSleepTime)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.