Class PublishedEventsAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<PublishedEventsAssert,TypedEvents>
 
org.springframework.modulith.test.PublishedEventsAssert
- All Implemented Interfaces:
- org.assertj.core.api.Assert<PublishedEventsAssert,,- TypedEvents> - org.assertj.core.api.Descriptable<PublishedEventsAssert>,- org.assertj.core.api.ExtensionPoints<PublishedEventsAssert,- TypedEvents> 
public class PublishedEventsAssert
extends org.assertj.core.api.AbstractAssert<PublishedEventsAssert,TypedEvents> 
AssertJ 
Assert for PublishedEvents.- Author:
- Oliver Drotbohm
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionclassAssertions further qualifying the expected events.
- 
Field SummaryFields inherited from class org.assertj.core.api.AbstractAssertactual, info, myself, objects, throwUnsupportedExceptionOnEquals
- 
Constructor SummaryConstructorsConstructorDescriptionPublishedEventsAssert(TypedEvents actual) Creates a newPublishedEventsAssert
- 
Method SummaryModifier and TypeMethodDescriptionAsserts that thePublishedEventscontain at least one event of the given type.Methods inherited from class org.assertj.core.api.AbstractAssertareEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptableas, as, as, describedAs, describedAs
- 
Constructor Details- 
PublishedEventsAssertPublishedEventsAssert(TypedEvents actual) Creates a newPublishedEventsAssert- Parameters:
- actual- must not be null.
 
 
- 
- 
Method Details- 
containsAsserts that thePublishedEventscontain at least one event of the given type. Use the returnedPublishedEventsAssertto further qualify the assertions.- Type Parameters:
- T- the event type expected
- Parameters:
- type- must not be null.
- Returns:
- will never be null.
 
 
-