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