Constructor and Description |
---|
FixedTimeout(long duration) |
Modifier and Type | Method and Description |
---|---|
long |
timeRemaining()
Returns the time remaining, to be passed to
wait
or throws TimeoutException if the timeout has expired. |
public long timeRemaining() throws TimeoutException
Timeout
wait
or throws TimeoutException if the timeout has expired.timeRemaining
in interface Timeout
TimeoutException
Copyright © 2003–2018 jMock. All rights reserved.