Uses of Class
org.springframework.modulith.test.Scenario.When.StateChangeResult
-
Uses of Scenario.When.StateChangeResult in org.springframework.modulith.test
Modifier and TypeMethodDescription<S> Scenario.When<T>.StateChangeResult<S>
Scenario.When.andWaitForStateChange
(Supplier<S> supplier) Expects a particular state change on the module to produce a result.<S> Scenario.When<T>.StateChangeResult<S>
Scenario.When.andWaitForStateChange
(Supplier<S> supplier, Predicate<? super S> acceptanceCriteria) Expects a particular state change on the module to produce a result and uses the givenPredicate
to determine whether the value is conclusive.<S> Scenario.When<T>.StateChangeResult<S>
Scenario.When.forStateChange
(Supplier<S> supplier) Alternative toScenario.When.andWaitForStateChange(Supplier)
for better readability if execution customizations have been applied before.<S> Scenario.When<T>.StateChangeResult<S>
Scenario.When.forStateChange
(Supplier<S> supplier, Predicate<? super S> acceptanceCriteria) Alternative toScenario.When.andWaitForStateChange(Supplier, Predicate)
for better readability if execution customizations have been applied before.