FixedTimeout
, InfiniteTimeout
public 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.TimeoutException
Copyright © 2003–2018 jMock. All rights reserved.