Modifier and Type | Method and Description |
---|---|
AggregateTestHelper.PublishBuilder |
thenPublish(C command)
Combinator to chain together multiple publishCommand commands.
|
AggregateTestHelper.PublishBuilder |
thenPublish(java.util.function.Function<AggregateUpdate<A>,ValueWithSequence<C>> commandGenerator)
Combinator to chain together multiple publishCommand commands.
|
public AggregateTestHelper.PublishBuilder thenPublish(C command)
command
- the next command to publishCommandpublic AggregateTestHelper.PublishBuilder thenPublish(java.util.function.Function<AggregateUpdate<A>,ValueWithSequence<C>> commandGenerator)
commandGenerator
- a generate a new command and sequence from the latest project value and sequenceCopyright © 2019. All rights reserved.