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 value 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.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, 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, org.springframework.modulith.test.Scenario.When.ExecutionResult<?, T> previousResult) Creates a newScenario.When.EventResultfor the given type and filter.
matching(Function, Predicate)instead.