Interface StepVerifier
public interface StepVerifier
Provides the ability to verify expectations on asynchronous sources.
-
Method Summary
-
Method Details
-
verify
Verify the none of the previously declared expectations are violated.This method will trigger a subscribe on the asynchronous source.
- Returns:
- The amount of time the declared expectations took to complete.
- Throws:
AssertionError
- if any of the declared expectations fail.
-
verify
Verify the none of the previously declared expectations are violated.This method will trigger a subscribe on the asynchronous source.
- Parameters:
duration
- The amount of time to wait while executing declared expectations.- Returns:
- The amount of time the declared expectations took to complete.
- Throws:
AssertionError
- if any of the declared expectations fail, or if theduration
expires.
-