public class AwaitilityClassProxy extends Object
| Constructor and Description |
|---|
AwaitilityClassProxy() |
| Modifier and Type | Method and Description |
|---|---|
static <S> S |
to(S object)
Await until a specific method invocation returns something.
|
public static <S> S to(S object)
await().until(callTo(service).getCount(), greaterThan(2));
Here we tell Awaitility to wait until the service.getCount()
method returns a value that is greater than 2.
S - The type of the service.object - the object that contains the method of interest.Copyright © 2010–2017. All rights reserved.