Class for testing events of persistent actors.
NOTE! ActorSystem must be configured with PersistenceTestKitPlugin. The configuration can be retrieved with PersistenceTestKitPlugin.config.
Attributes
- Companion
- object
- Source
- PersistenceTestKit.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Fail next n delete from storage attempts with cause exception for any persistence id.
Fail next n delete from storage attempts with cause exception for any persistence id.
Attributes
- Definition Classes
-
CommonTestKitOps
- Source
- PersistenceTestKit.scala
Fail next n delete from storage attempts with cause exception for particular persistence id.
Fail next n delete from storage attempts with cause exception for particular persistence id.
Attributes
- Definition Classes
-
CommonTestKitOps
- Source
- PersistenceTestKit.scala
Fail next n write operations with the cause exception for particular persistence id.
Fail next n write operations with the cause exception for particular persistence id.
Attributes
- Definition Classes
-
CommonTestKitOps
- Source
- PersistenceTestKit.scala
Fail next n write operations with the cause exception for any persistence id.
Fail next n write operations with the cause exception for any persistence id.
Attributes
- Definition Classes
-
CommonTestKitOps
- Source
- PersistenceTestKit.scala
Fail next n read from storage (recovery) attempts with cause exception for any persistence id.
Fail next n read from storage (recovery) attempts with cause exception for any persistence id.
Attributes
- Definition Classes
-
CommonTestKitOps
- Source
- PersistenceTestKit.scala
Fail next n read from storage (recovery) attempts with cause exception for particular persistence id.
Fail next n read from storage (recovery) attempts with cause exception for particular persistence id.
Attributes
- Definition Classes
-
CommonTestKitOps
- Source
- PersistenceTestKit.scala
Persist snapshots into storage in order.
Retrieve all snapshots saved in storage by persistence id.
Retrieve all snapshots saved in storage by persistence id.
Attributes
- Source
- PersistenceTestKit.scala
Reject next n delete from storage operations for any persistence id with cause exception.
Reject next n delete from storage operations for any persistence id with cause exception.
Attributes
- Definition Classes
-
PersistenceTestKitOps
- Source
- PersistenceTestKit.scala
Reject next n delete from storage operations for particular persistence id with cause exception.
Reject next n delete from storage operations for particular persistence id with cause exception.
Attributes
- Definition Classes
-
PersistenceTestKitOps
- Source
- PersistenceTestKit.scala
Reject next n save in storage operations for particular persistence id with cause exception.
Reject next n save in storage operations for particular persistence id with cause exception.
Attributes
- Definition Classes
-
PersistenceTestKitOps
- Source
- PersistenceTestKit.scala
Reject next n save in storage operations for any persistence id with cause exception.
Reject next n save in storage operations for any persistence id with cause exception.
Attributes
- Definition Classes
-
PersistenceTestKitOps
- Source
- PersistenceTestKit.scala
Reject next n read from storage operations for any persistence id with cause exception.
Reject next n read from storage operations for any persistence id with cause exception.
Attributes
- Definition Classes
-
PersistenceTestKitOps
- Source
- PersistenceTestKit.scala
Reject next n read from storage operations for particular persistence id with cause exception.
Reject next n read from storage operations for particular persistence id with cause exception.
Attributes
- Definition Classes
-
PersistenceTestKitOps
- Source
- PersistenceTestKit.scala
Inherited methods
Clear all data from the storage.
Clear all data from the storage.
NOTE! Also clears sequence numbers in storage!
Attributes
- See also
-
ClearPreservingSeqNums.clearAllPreservingSeqNumbers
- Inherited from:
- ClearOps (hidden)
- Source
- TestOps.scala
Clear all data in the storage preserving sequence numbers.
Clear all data in the storage preserving sequence numbers.
Attributes
- See also
-
ClearOps.clearAll
- Inherited from:
- ClearPreservingSeqNums (hidden)
- Source
- TestOps.scala
Clear all data in the storage for particular persistence id preserving sequence numbers.
Clear all data in the storage for particular persistence id preserving sequence numbers.
Attributes
- See also
-
ClearOps.clearByPersistenceId
- Inherited from:
- ClearPreservingSeqNums (hidden)
- Source
- TestOps.scala
Clear all data from the storage for particular persistence id.
Clear all data from the storage for particular persistence id.
NOTE! Also clears sequence number in the storage!
Attributes
- See also
-
ClearPreservingSeqNums.clearByIdPreservingSeqNumbers
- Inherited from:
- ClearOps (hidden)
- Source
- TestOps.scala
Check for max time that next persisted in storage for particular persistence id event/snapshot was event.
Check for max time that next persisted in storage for particular persistence id event/snapshot was event.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Check that next persisted in storage for particular persistence id event/snapshot was event.
Check that next persisted in storage for particular persistence id event/snapshot was event.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Check for max time that next persisted in storage for particular persistence id event/snapshot has expected type.
Check for max time that next persisted in storage for particular persistence id event/snapshot has expected type.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Check that next persisted in storage for particular persistence id event/snapshot has expected type.
Check that next persisted in storage for particular persistence id event/snapshot has expected type.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Check for max time that next persisted in storage for particular persistence id event/snapshot has expected type.
Check for max time that next persisted in storage for particular persistence id event/snapshot has expected type.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Check that next persisted in storage for particular persistence id event/snapshot has expected type.
Check that next persisted in storage for particular persistence id event/snapshot has expected type.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Check for max time that nothing was persisted in storage for particular persistence id.
Check for max time that nothing was persisted in storage for particular persistence id.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Check that nothing was persisted in storage for particular persistence id.
Check that nothing was persisted in storage for particular persistence id.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Fail next delete from storage attempt with default exception for particular persistence id.
Fail next delete from storage attempt with default exception for particular persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next delete from storage attempt with cause exception for particular persistence id.
Fail next delete from storage attempt with cause exception for particular persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next delete from storage attempt with default exception for any persistence id.
Fail next delete from storage attempt with default exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next delete from storage attempt with cause exception for any persistence id.
Fail next delete from storage attempt with cause exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next n delete from storage attempts with default exception for particular persistence id.
Fail next n delete from storage attempts with default exception for particular persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next n delete from storage attempts with default exception for any persistence id.
Fail next n delete from storage attempts with default exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail n following journal operations regardless of their type. Fails operations with the cause exception.
Fail n following journal operations regardless of their type. Fails operations with the cause exception.
Attributes
- Inherited from:
- PolicyOpsTestKit (hidden)
- Source
- TestOps.scala
Fail n following journal operations regardless of their type. Fails operations with default ExpectedFailure exception.
Fail n following journal operations regardless of their type. Fails operations with default ExpectedFailure exception.
Attributes
- Inherited from:
- PolicyOpsTestKit (hidden)
- Source
- TestOps.scala
Fail n following journal operations depending on the condition cond. Failure triggers, when cond returns true. Fails operations with the cause exception.
Fail n following journal operations depending on the condition cond. Failure triggers, when cond returns true. Fails operations with the cause exception.
Attributes
- Inherited from:
- PolicyOpsTestKit (hidden)
- Source
- TestOps.scala
Fail n following journal operations depending on the condition cond. Failure triggers, when cond returns true. Fails operations with default ExpectedFailure exception.
Fail n following journal operations depending on the condition cond. Failure triggers, when cond returns true. Fails operations with default ExpectedFailure exception.
Attributes
- Inherited from:
- PolicyOpsTestKit (hidden)
- Source
- TestOps.scala
Fail next n write operations with default exception for any persistence id.
Fail next n write operations with default exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next n write operations for particular persistence id.
Fail next n write operations for particular persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next n read from storage (recovery) attempts with default exception for particular persistence id.
Fail next n read from storage (recovery) attempts with default exception for particular persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next n read from storage (recovery) attempts with default exception for any persistence id.
Fail next n read from storage (recovery) attempts with default exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next write operation with default exception for any persistence id.
Fail next write operation with default exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next write operation with cause exception for any persistence id.
Fail next write operation with cause exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next write operation with default exception for particular persistence id.
Fail next write operation with default exception for particular persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next write operation with cause exception for particular persistence id.
Fail next write operation with cause exception for particular persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next read from storage (recovery) attempt with default exception for any persistence id.
Fail next read from storage (recovery) attempt with default exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next read from storage (recovery) attempt with cause exception for particular persistence id.
Fail next read from storage (recovery) attempt with cause exception for particular persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next read from storage (recovery) attempt with default exception for any persistence id.
Fail next read from storage (recovery) attempt with default exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next read from storage (recovery) attempt with cause exception for any persistence id.
Fail next read from storage (recovery) attempt with cause exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Receive for max time next n events/snapshots that have been persisted in the storage.
Receive for max time next n events/snapshots that have been persisted in the storage.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Receive next n events/snapshots that have been persisted in the storage.
Receive next n events/snapshots that have been persisted in the storage.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Receive next n events/snapshots that have been persisted in the storage.
Receive next n events/snapshots that have been persisted in the storage.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Receive for max time next n events/snapshots that have been persisted in the storage.
Receive for max time next n events/snapshots that have been persisted in the storage.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Reject next delete from storage operations for particular persistence id with cause exception.
Reject next delete from storage operations for particular persistence id with cause exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject next delete from storage operations for particular persistence id with default exception.
Reject next delete from storage operations for particular persistence id with default exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject next delete from storage operation for any persistence id with cause exception.
Reject next delete from storage operation for any persistence id with cause exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject next delete from storage operation for any persistence id with default exception.
Reject next delete from storage operation for any persistence id with default exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject next n delete from storage operations for particular persistence id with default exception.
Reject next n delete from storage operations for particular persistence id with default exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject next n delete from storage operations for any persistence id with default exception.
Reject next n delete from storage operations for any persistence id with default exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject n following journal operations regardless of their type. Rejects operations with the cause exception.
Reject n following journal operations regardless of their type. Rejects operations with the cause exception.
Attributes
- Inherited from:
- RejectSupport (hidden)
- Source
- TestOps.scala
Reject n following journal operations regardless of their type. Rejects operations with default ExpectedRejection exception.
Reject n following journal operations regardless of their type. Rejects operations with default ExpectedRejection exception.
Attributes
- Inherited from:
- RejectSupport (hidden)
- Source
- TestOps.scala
Reject n following journal operations depending on the condition cond. Rejection triggers, when cond returns true. Rejects operations with the cause exception.
Reject n following journal operations depending on the condition cond. Rejection triggers, when cond returns true. Rejects operations with the cause exception.
Attributes
- Inherited from:
- RejectSupport (hidden)
- Source
- TestOps.scala
Reject n following journal operations depending on the condition cond. Rejection triggers, when cond returns true. Reject operations with default ExpectedRejection exception.
Reject n following journal operations depending on the condition cond. Rejection triggers, when cond returns true. Reject operations with default ExpectedRejection exception.
Attributes
- Inherited from:
- RejectSupport (hidden)
- Source
- TestOps.scala
Reject next n save in storage operations for any persistence id with default exception.
Reject next n save in storage operations for any persistence id with default exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject next n save in storage operations for particular persistence id with default exception.
Reject next n save in storage operations for particular persistence id with default exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject next n read from storage operations for particular persistence id with default exception.
Reject next n read from storage operations for particular persistence id with default exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject next n read from storage operations for any persistence id with default exception.
Reject next n read from storage operations for any persistence id with default exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject next save in storage operation for any persistence id with default exception.
Reject next save in storage operation for any persistence id with default exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject next save in storage operation for any persistence id with cause exception.
Reject next save in storage operation for any persistence id with cause exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject next save in storage operation for particular persistence id with cause exception.
Reject next save in storage operation for particular persistence id with cause exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject next save in storage operation for particular persistence id with default exception.
Reject next save in storage operation for particular persistence id with default exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject next read from storage operation for particular persistence id with cause exception.
Reject next read from storage operation for particular persistence id with cause exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject next read from storage operation for particular persistence id with default exception.
Reject next read from storage operation for particular persistence id with default exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject next read from storage operation for any persistence id with cause exception.
Reject next read from storage operation for any persistence id with cause exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Reject next read from storage operation for any persistence id with default exception.
Reject next read from storage operation for any persistence id with default exception.
Attributes
- Inherited from:
- PersistenceTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Returns default policy if it was changed by PolicyOpsTestKit.this.withPolicy().
Returns default policy if it was changed by PolicyOpsTestKit.this.withPolicy().
Attributes
- Inherited from:
- PolicyOpsTestKit (hidden)
- Source
- TestOps.scala
Set new processing policy for journal operations. NOTE! Overrides previously invoked failNext... or rejectNext...
Set new processing policy for journal operations. NOTE! Overrides previously invoked failNext... or rejectNext...
Attributes
- Inherited from:
- PolicyOpsTestKit (hidden)
- Source
- TestOps.scala