I'm trying to run my test that uses awaitility on my android app, but it can't run due the following line:
await().atMost(200, MILLISECONDS).until(() -> testVehicle.isFuelChecked());
It doesn't show any error before runing the test, but when I run it, it shows this error before running:
error: cannot access Predicate
await().atMost(200, MILLISECONDS).until(testVehicle::isFuelChecked);
^
I'm using java 1.8 which has predicate, what's wrong?
Aucun commentaire:
Enregistrer un commentaire