Uses of Interface
org.axonframework.test.saga.ContinuedGivenState
Packages that use ContinuedGivenState
-
Uses of ContinuedGivenState in org.axonframework.test.saga
Classes in org.axonframework.test.saga that implement ContinuedGivenStateModifier and TypeClassDescriptionclassFixture for testing Sagas in a given-when-then style, carrying the Axon Framework 4 API so a migrating test suite keeps its shape.Methods in org.axonframework.test.saga that return ContinuedGivenStateModifier and TypeMethodDescriptionContinuedGivenState.andThenAPublished(Object event) Indicates that the giveneventhas been published in the past.ContinuedGivenState.andThenAPublished(Object event, Map<String, String> metadata) Indicates that the giveneventwith givenmetadatahas been published in the past.SagaTestFixture.andThenAPublished(Object event) SagaTestFixture.andThenAPublished(Object event, Map<String, String> metadata) ContinuedGivenState.andThenTimeAdvancesTo(Instant newDateTime) Simulate time shifts in the current given state.SagaTestFixture.andThenTimeAdvancesTo(Instant newDateTime) ContinuedGivenState.andThenTimeElapses(Duration elapsedTime) Simulate time shifts in the current given state.SagaTestFixture.andThenTimeElapses(Duration elapsedTime) FixtureConfiguration.givenAPublished(Object event) Indicates that the giveneventhas been published in the past.FixtureConfiguration.givenAPublished(Object event, Map<String, String> metadata) Indicates that the giveneventwith givenmetadatahas been published in the past.SagaTestFixture.givenAPublished(Object event) SagaTestFixture.givenAPublished(Object event, Map<String, String> metadata) FixtureConfiguration.givenCurrentTime(Instant currentTime) Sets the time the fixture starts from.SagaTestFixture.givenCurrentTime(Instant currentTime) Register the giveneventsas being published somewhere in the past.