Interface LightkeeperAssertions.RetryingAssertion
- Enclosing class:
LightkeeperAssertions
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An assertion that
LightkeeperAssertions.eventually(Duration, RetryingAssertion) re-runs until it passes.-
Method Summary
-
Method Details
-
run
Runs the assertion once.- Throws:
Exception- Assertion failures surface asAssertionErrorand are retried; any other failure is wrapped in anIllegalStateException(with the original as its cause) and fails fast.
-