Uses of Class
org.springframework.modulith.test.Scenario.When.EventResult
-
Uses of Scenario.When.EventResult in org.springframework.modulith.test
Modifier and TypeMethodDescription<E> Scenario.When<T>.EventResult<E>
Scenario.When.andWaitForEventOfType
(Class<E> type) <E> Scenario.When<T>.EventResult<E>
Scenario.When.forEventOfType
(Class<E> type) Alternative toScenario.When.andWaitForEventOfType(Class)
for better readability if execution customizations have been applied before.Matches events that satisfy the givenPredicate
.<S> Scenario.When<T>.EventResult<E>
Scenario.When.EventResult.matchingMapped
(Function<E, S> extractor, Predicate<? super S> filter) <S> Scenario.When<T>.EventResult<E>
Scenario.When.EventResult.matchingMappedValue
(Function<E, S> extractor, S value) Matches events that extracting the given value using the givenFunction
.