Class Scenario.When.StateChangeResult<S>
java.lang.Object
org.springframework.modulith.test.Scenario.When.StateChangeResult<S>
- Enclosing class:
- Scenario.When<T>
-
Constructor Summary
ConstructorDescriptionStateChangeResult
(org.springframework.modulith.test.Scenario.When.ExecutionResult<S, T> result) -
Method Summary
Modifier and TypeMethodDescriptionvoid
andVerify
(BiConsumer<S, T> consumer) Verifies the state change result and stimulus result using the givenBiConsumer
.void
Verifies the state change result using the givenConsumer
.
-
Constructor Details
-
StateChangeResult
-
-
Method Details
-
andVerify
Verifies the state change result using the givenConsumer
.- Parameters:
consumer
- must not be null.
-
andVerify
Verifies the state change result and stimulus result using the givenBiConsumer
.- Parameters:
consumer
- must not be null.
-