Interface CommonTestKitOps<S,P> 
- All Superinterfaces:
- ClearOps,- PolicyOpsTestKit<P>
- All Known Subinterfaces:
- PersistenceTestKitOps<S,- P> 
- All Known Implementing Classes:
- PersistenceTestKit,- SnapshotTestKit
- 
Method SummaryModifier and TypeMethodDescription<A> AexpectNextPersisted(String persistenceId, A event) Check thateventhas been saved in the storage.<A> AexpectNextPersisted(String persistenceId, A event, scala.concurrent.duration.FiniteDuration max) Check formaxtime thateventhas been saved in the storage.voidexpectNothingPersisted(String persistenceId) Check that nothing has been saved in the storage.voidexpectNothingPersisted(String persistenceId, scala.concurrent.duration.FiniteDuration max) Check formaxtime that nothing has been saved in the storage.voidFail next delete from storage attempt with default exception for any persistence id.voidfailNextDelete(String persistenceId) Fail next delete from storage attempt with default exception for particular persistence id.voidfailNextDelete(String persistenceId, Throwable cause) Fail next delete from storage attempt withcauseexception for particular persistence id.voidfailNextDelete(Throwable cause) Fail next delete from storage attempt withcauseexception for any persistence id.voidfailNextNDeletes(int n) Fail next n delete from storage attempts with default exception for any persistence id.voidfailNextNDeletes(int n, Throwable cause) Fail next n delete from storage attempts withcauseexception for any persistence id.voidfailNextNDeletes(String persistenceId, int n) Fail next n delete from storage attempts with default exception for particular persistence id.voidfailNextNDeletes(String persistenceId, int n, Throwable cause) Fail next n delete from storage attempts withcauseexception for particular persistence id.voidfailNextNPersisted(int n) Fail nextnwrite operations with default exception for any persistence id.voidfailNextNPersisted(int n, Throwable cause) Fail nextnwrite operations with thecauseexception for any persistence id.voidfailNextNPersisted(String persistenceId, int n) Fail nextnwrite operations for particular persistence id.voidfailNextNPersisted(String persistenceId, int n, Throwable cause) Fail nextnwrite operations with thecauseexception for particular persistence id.voidfailNextNReads(int n) Fail next n read from storage (recovery) attempts with default exception for any persistence id.voidfailNextNReads(int n, Throwable cause) Fail next n read from storage (recovery) attempts withcauseexception for any persistence id.voidfailNextNReads(String persistenceId, int n) Fail next n read from storage (recovery) attempts with default exception for particular persistence id.voidfailNextNReads(String persistenceId, int n, Throwable cause) Fail next n read from storage (recovery) attempts withcauseexception for particular persistence id.voidFail next write operation with default exception for any persistence id.voidfailNextPersisted(String persistenceId) Fail next write operation with default exception for particular persistence id.voidfailNextPersisted(String persistenceId, Throwable cause) Fail next write operation withcauseexception for particular persistence id.voidfailNextPersisted(Throwable cause) Fail next write operation withcauseexception for any persistence id.voidFail next read from storage (recovery) attempt with default exception for any persistence id.voidfailNextRead(String persistenceId) Fail next read from storage (recovery) attempt with default exception for any persistence id.voidfailNextRead(String persistenceId, Throwable cause) Fail next read from storage (recovery) attempt withcauseexception for particular persistence id.voidfailNextRead(Throwable cause) Fail next read from storage (recovery) attempt withcauseexception for any persistence id.Methods inherited from interface org.apache.pekko.persistence.testkit.scaladsl.ClearOpsclearAll, clearByPersistenceIdMethods inherited from interface org.apache.pekko.persistence.testkit.scaladsl.PolicyOpsTestKitfailNextNOps, failNextNOps, failNextNOpsCond, failNextNOpsCond, Policies, resetPolicy, withPolicy
- 
Method Details- 
expectNextPersistedCheck thateventhas been saved in the storage.
- 
expectNextPersisted<A> A expectNextPersisted(String persistenceId, A event, scala.concurrent.duration.FiniteDuration max) Check formaxtime thateventhas been saved in the storage.
- 
expectNothingPersistedCheck that nothing has been saved in the storage.
- 
expectNothingPersistedCheck formaxtime that nothing has been saved in the storage.
- 
failNextDeleteFail next delete from storage attempt withcauseexception for any persistence id.
- 
failNextDeletevoid failNextDelete()Fail next delete from storage attempt with default exception for any persistence id.
- 
failNextDeleteFail next delete from storage attempt withcauseexception for particular persistence id.
- 
failNextDeleteFail next delete from storage attempt with default exception for particular persistence id.
- 
failNextNDeletesFail next n delete from storage attempts withcauseexception for any persistence id.
- 
failNextNDeletesvoid failNextNDeletes(int n) Fail next n delete from storage attempts with default exception for any persistence id.
- 
failNextNDeletesFail next n delete from storage attempts withcauseexception for particular persistence id.
- 
failNextNDeletesFail next n delete from storage attempts with default exception for particular persistence id.
- 
failNextNPersistedFail nextnwrite operations with thecauseexception for particular persistence id.
- 
failNextNPersistedFail nextnwrite operations for particular persistence id.
- 
failNextNPersistedFail nextnwrite operations with thecauseexception for any persistence id.
- 
failNextNPersistedvoid failNextNPersisted(int n) Fail nextnwrite operations with default exception for any persistence id.
- 
failNextNReadsFail next n read from storage (recovery) attempts withcauseexception for any persistence id.
- 
failNextNReadsvoid failNextNReads(int n) Fail next n read from storage (recovery) attempts with default exception for any persistence id.
- 
failNextNReadsFail next n read from storage (recovery) attempts withcauseexception for particular persistence id.
- 
failNextNReadsFail next n read from storage (recovery) attempts with default exception for particular persistence id.
- 
failNextPersistedFail next write operation withcauseexception for particular persistence id.
- 
failNextPersistedFail next write operation with default exception for particular persistence id.
- 
failNextPersistedFail next write operation withcauseexception for any persistence id.
- 
failNextPersistedvoid failNextPersisted()Fail next write operation with default exception for any persistence id.
- 
failNextReadFail next read from storage (recovery) attempt withcauseexception for any persistence id.
- 
failNextReadvoid failNextRead()Fail next read from storage (recovery) attempt with default exception for any persistence id.
- 
failNextReadFail next read from storage (recovery) attempt withcauseexception for particular persistence id.
- 
failNextReadFail next read from storage (recovery) attempt with default exception for any persistence id.
 
-