Package org.mockito.internal.util
Class Timer
- java.lang.Object
-
- org.mockito.internal.util.Timer
-
public class Timer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private long
durationMillis
private long
startTime
-
Constructor Summary
Constructors Constructor Description Timer(long durationMillis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
duration()
boolean
isCounting()
Informs whether the timer is still counting down.void
start()
Starts the timer count down.private void
validateInput(long durationMillis)
-