public final class TimeoutWatch extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
isTimeOut() |
static TimeoutWatch |
startWatchWithTimeoutOf(long timeout)
Creates and starts a new
TimeoutWatch with the given timeout. |
@Nonnull public static TimeoutWatch startWatchWithTimeoutOf(long timeout)
TimeoutWatch
with the given timeout.timeout
- the given timeout.public boolean isTimeOut()
Copyright © 2014–2019 AssertJ. All rights reserved.