Uses of Interface
org.axonframework.test.aggregate.TestExecutor
Packages that use TestExecutor
-
Uses of TestExecutor in org.axonframework.test.aggregate
Classes in org.axonframework.test.aggregate that implement TestExecutorModifier and TypeClassDescriptionclassA test fixture that allows the execution of given-when-then style test cases.Methods in org.axonframework.test.aggregate that return TestExecutorModifier and TypeMethodDescriptionConfigures the givendomainEventsas the "given" events.Configures the givendomainEventsas the "given" events.AggregateTestFixture.andGivenCommands(Object... commands) AggregateTestFixture.andGivenCommands(List<?> commands) TestExecutor.andGivenCommands(Object... commands) Configures the givencommandsas the command that will provide the "given" events.TestExecutor.andGivenCommands(List<?> commands) Configures the givencommandsas the command that will provide the "given" events.AggregateTestFixture.andGivenCurrentTime(Instant currentTime) TestExecutor.andGivenCurrentTime(Instant currentTime) Use this method to indicate a specific moment as the initial current time "known" by the fixture at the start of the given state.Configures the givendomainEventsas the "given" events.Configures the givendomainEventsas the "given" events.AggregateTestFixture.givenCommands(Object... commands) AggregateTestFixture.givenCommands(List<?> commands) FixtureConfiguration.givenCommands(Object... commands) Configures the givencommandsas to execute against the aggregate under test to initiate the given-phase.FixtureConfiguration.givenCommands(List<?> commands) Configures the givencommandsas to execute against the aggregate under test to initiate the given-phase.AggregateTestFixture.givenCurrentTime(Instant currentTime) FixtureConfiguration.givenCurrentTime(Instant time) Use this method to indicate a specific moment as the initial current time "known" by the fixture at the start of the given state.AggregateTestFixture.givenNoPriorActivity()FixtureConfiguration.givenNoPriorActivity()Indicates that no relevant activities like commands or events have occurred in the past.AggregateTestFixture.givenState(Supplier<T> aggregate) FixtureConfiguration.givenState(Supplier<T> aggregateState) Sets the aggregate instance as supplied by givenaggregateStateas the initial state for a test case.