<T> T until(java.util.function.Function<? super F,T> isTrue)Implementations should wait until the condition evaluates to a value that is neither null nor false. Because of this contract, the return type must not be Void.
If the condition does not become true within a certain time (as defined by the implementing class), this method will throw a non-specified
Throwable. This is so that an implementor may throw whatever is idiomatic for a given test infrastructure (e.g. JUnit4 would throw
- Type Parameters:
T- the return type of the method, which must not be Void
isTrue- the parameter to pass to the
- truthy value from the isTrue condition