Uses of Interface
org.springframework.modulith.test.PublishedEvents.TypedPublishedEvents
Packages that use PublishedEvents.TypedPublishedEvents
-
Uses of PublishedEvents.TypedPublishedEvents in org.springframework.modulith.test
Methods in org.springframework.modulith.test that return PublishedEvents.TypedPublishedEventsModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Returns allPublishedEvents.TypedPublishedEventsthat match the given predicate after applying the given mapping step.Returns allPublishedEvents.TypedPublishedEventsthat match the given predicate.default <S> PublishedEvents.TypedPublishedEvents<T>PublishedEvents.TypedPublishedEvents.matchingMapped(Function<T, S> mapper, Predicate<? super S> predicate) Deprecated, for removal: This API element is subject to removal in a future version.since 0.3, usematching(Function, Predicate)instead.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.
matchingValue(Function, Object)instead.