Interface StepVerifier
-
public interface StepVerifier
Provides the ability to verify expectations on asynchronous sources.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.time.Duration
verify()
Verify the none of the previously declared expectations are violated.java.time.Duration
verify(java.time.Duration duration)
Verify the none of the previously declared expectations are violated.
-
-
-
Method Detail
-
verify
java.time.Duration verify() throws java.lang.AssertionError
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:
java.lang.AssertionError
- if any of the declared expectations fail.
-
verify
java.time.Duration verify(java.time.Duration duration) throws java.lang.AssertionError
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:
java.lang.AssertionError
- if any of the declared expectations fail, or if theduration
expires.
-
-