Uses of Interface
org.springframework.modulith.test.PublishedEvents.TypedPublishedEvents
-
Uses of PublishedEvents.TypedPublishedEvents in org.springframework.modulith.test
Methods in org.springframework.modulith.test that return PublishedEvents.TypedPublishedEventsModifier and TypeMethodDescriptionReturns allPublishedEvents.TypedPublishedEventsthat match the given predicate after applying the given mapping step.Returns allPublishedEvents.TypedPublishedEventsthat match the given predicate.PublishedEvents.TypedPublishedEvents.matchingValue(Function<T, S> mapper, @Nullable S value) Returns allPublishedEvents.TypedPublishedEventsthat match the given value after applying the given mapping step.default <S extends T>
PublishedEvents.TypedPublishedEvents<S>Further constrain the event type for downstream assertions.Returns all events of the given type.Constructor parameters in org.springframework.modulith.test with type arguments of type PublishedEvents.TypedPublishedEventsModifierConstructorDescription(package private)EventResult(Class<E> type, Function<PublishedEvents.TypedPublishedEvents<E>, PublishedEvents.TypedPublishedEvents<E>> filtered, @Nullable org.springframework.modulith.test.Scenario.When.ExecutionResult<?, T> previousResult) Creates a newScenario.When.EventResultfor the given type and filter.(package private)EventResult(Class<E> type, Function<PublishedEvents.TypedPublishedEvents<E>, PublishedEvents.TypedPublishedEvents<E>> filtered, @Nullable org.springframework.modulith.test.Scenario.When.ExecutionResult<?, T> previousResult) Creates a newScenario.When.EventResultfor the given type and filter.