Interface EventSourcedBehaviorTestKit<Command,​Event,​State>

    • Method Detail

      • clear

        void clear()
        Clears the in-memory journal and snapshot storage and restarts the behavior.
      • persistenceTestKit

        PersistenceTestKit persistenceTestKit()
        The underlying PersistenceTestKit for the in-memory journal and snapshot storage. Can be useful for advanced testing scenarios, such as simulating failures or populating the journal with events that are used for replay.