Package ai.stapi.test.domain
Class AbstractDomainTestCase
java.lang.Object
ai.stapi.test.base.AbstractUnitTestCase
ai.stapi.test.integration.SpringBootTestCase
ai.stapi.test.integration.AbstractIntegrationTestCase
ai.stapi.test.schemaintegration.AbstractSchemaIntegrationTestCase
ai.stapi.test.base.AbstractAxonTestCase
ai.stapi.test.domain.AbstractDomainTestCase
- All Implemented Interfaces:
ai.stapi.test.FixtureFileLoadableTestTrait
- Direct Known Subclasses:
DomainTestCase
-
Field Summary
Fields inherited from class ai.stapi.test.base.AbstractAxonTestCase
serializerFields inherited from class ai.stapi.test.base.AbstractUnitTestCase
graphRenderer, idLessTextEdgeRenderer, idLessTextGraphRenderer, idLessTextNodeRenderer, objectToJsonStringRenderer, textEdgeRenderer, textNodeRenderer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgivenCommandIsDispatched(Object command) protected voidwhenCommandIsDispatched(Object command) protected voidwhenCommandIsDispatched(Object command, org.axonframework.messaging.MetaData metaData) protected Optional<org.axonframework.commandhandling.CommandExecutionException>Methods inherited from class ai.stapi.test.base.AbstractAxonTestCase
configureAggregates, getActualEvents, getAllTrackedMessagesWithPayloadType, getErrorMessage, getLastDynamicEventOfName, getLastDynamicEventOfName, getLastEventMessagesOfPayloadType, getLastEventOfType, getLastEventOfType, getLastEventOfTypeOptionally, getMetaDataForLastEventOfType, initStartedAt, thenExpectedDynamicEventsSaved, thenExpectedDynamicEventsSaved, thenExpectedEventTypesSaved, thenExpectedEventTypesSaved, thenLastDynamicEventOfNameApproved, thenLastDynamicEventOfNameApproved, thenLastEventElementsForRemovalApproved, thenLastEventElementsForRemovalApproved, thenLastEventGraphApproved, thenLastEventOfTypeGraphApproved, thenLastEventOfTypeGraphApproved, thenMergedGraphOfAggregateApproved, thenMergedGraphOfAggregateApprovedMethods inherited from class ai.stapi.test.schemaintegration.AbstractSchemaIntegrationTestCase
setTestClassScope, setTestClassScopeBeforeAllMethods inherited from class ai.stapi.test.base.AbstractUnitTestCase
getRenderOptions, thenEdgeApproved, thenEdgesApproved, thenEdgesAreSame, thenEdgesHaveSameIdAndTypeAndNodeIds, thenExceptionMessageApproved, thenExceptionMessageApprovedWithHiddenUuids, thenGraphApproved, thenGraphApproved, thenGraphApproved, thenGraphApproved, thenGraphElementApproved, thenGraphElementsApproved, thenGraphsAreSame, thenGraphsAreSame, thenIdLessGraphsAreEqual, thenIdLessGraphsAreEqual, thenNodeApproved, thenNodesApproved, thenNodesAreSame, thenObjectApproved, thenObjectApproved, thenObjectApproved, thenObjectApproved, thenObjectApprovedWithoutSorting, thenObjectApprovedWithShownIds, thenObjectsEquals, thenObjectsEquals, thenStringApproved, thenUnsortedEdgesApproved, thenUnsortedGraphElementsApproved, thenUnsortedNodesApprovedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ai.stapi.test.FixtureFileLoadableTestTrait
getAbsoluteFixturePath, getAllFixtureFiles, getFixtureFilePath, getFixtureFolder, getLocationFilePath, getRelativeTestFolderPath
-
Constructor Details
-
AbstractDomainTestCase
public AbstractDomainTestCase()
-
-
Method Details
-
givenCommandIsDispatched
-
whenCommandIsDispatched
-
whenCommandIsDispatched
protected void whenCommandIsDispatched(Object command, org.axonframework.messaging.MetaData metaData) -
whenCommandThrowingExceptionIsDispatched
-