Interface PublishedEvents
- All Superinterfaces:
- TypedEvents
- All Known Subinterfaces:
- AssertablePublishedEvents
- All Known Implementing Classes:
- DefaultAssertablePublishedEvents,- DefaultPublishedEvents
All Spring application events fired during the test execution.
- Author:
- Oliver Drotbohm
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAll application events of a given type that were fired during a test execution.
- 
Method SummaryModifier and TypeMethodDescriptionstatic PublishedEventsCreates a newPublishedEventsinstance for the given events.static PublishedEventsof(Collection<? extends Object> events) Creates a newPublishedEventsinstance for the given events.Returns all events of the given type.Methods inherited from interface org.springframework.modulith.test.TypedEventseventOfTypeWasPublished
- 
Method Details- 
ofCreates a newPublishedEventsinstance for the given events.- Parameters:
- events- must not be null.
- Returns:
- will never be null.
 
- 
ofCreates a newPublishedEventsinstance for the given events.- Parameters:
- events- must not be null.
- Returns:
 
- 
ofTypeDescription copied from interface:TypedEventsReturns all events of the given type.- Specified by:
- ofTypein interface- TypedEvents
- Type Parameters:
- T- the event type
- Parameters:
- type- must not be null.
- Returns:
 
 
-