Class EventSourcedBehaviorTestKit$

  • public class EventSourcedBehaviorTestKit$
    extends java.lang.Object
    Testing of EventSourcedBehavior implementations. It supports running one command at a time and you can assert that the synchronously returned result is as expected. The result contains the events emitted by the command and the new state after applying the events. It also has support for verifying the reply to a command.

    Serialization of commands, events and state are verified automatically.

    • Constructor Detail

      • EventSourcedBehaviorTestKit$

        public EventSourcedBehaviorTestKit$()