Interface ExpectOps<U>
- All Known Implementing Classes:
PersistenceTestKit,SnapshotTestKit
public interface ExpectOps<U>
-
Method Summary
Modifier and TypeMethodDescription<A> AexpectNextPersisted(String persistenceId, A event) Check that next persisted in storage for particular persistence id event/snapshot wasevent.<A> AexpectNextPersisted(String persistenceId, A event, scala.concurrent.duration.FiniteDuration max) Check formaxtime that next persisted in storage for particular persistence id event/snapshot wasevent.<A> AexpectNextPersistedClass(String persistenceId, Class<A> cla) Check that next persisted in storage for particular persistence id event/snapshot has expected type.<A> AexpectNextPersistedClass(String persistenceId, Class<A> cla, scala.concurrent.duration.FiniteDuration max) Check formaxtime that next persisted in storage for particular persistence id event/snapshot has expected type.<A> AexpectNextPersistedType(String persistenceId, scala.concurrent.duration.FiniteDuration max, scala.reflect.ClassTag<A> t) Check formaxtime that next persisted in storage for particular persistence id event/snapshot has expected type.<A> AexpectNextPersistedType(String persistenceId, scala.reflect.ClassTag<A> t) Check that next persisted in storage for particular persistence id event/snapshot has expected type.voidexpectNothingPersisted(String persistenceId) Check that nothing was persisted in storage for particular persistence id.voidexpectNothingPersisted(String persistenceId, scala.concurrent.duration.FiniteDuration max) Check formaxtime that nothing was persisted in storage for particular persistence id.scala.Option<Object>scala.concurrent.duration.FiniteDurationscala.concurrent.duration.FiniteDurationprobe()<A> scala.collection.immutable.Seq<A>receivePersisted(String persistenceId, int n, Class<A> cla) Receive nextnevents/snapshots that have been persisted in the storage.<A> scala.collection.immutable.Seq<A>receivePersisted(String persistenceId, int n, Class<A> cla, scala.concurrent.duration.FiniteDuration max) Receive formaxtime nextnevents/snapshots that have been persisted in the storage.<A> scala.collection.immutable.Seq<A>receivePersisted(String persistenceId, int n, scala.concurrent.duration.FiniteDuration max, scala.reflect.ClassTag<A> t) Receive formaxtime nextnevents/snapshots that have been persisted in the storage.<A> scala.collection.immutable.Seq<A>receivePersisted(String persistenceId, int n, scala.reflect.ClassTag<A> t) Receive nextnevents/snapshots that have been persisted in the storage.
-
Method Details
-
expectNextPersisted
Check that next persisted in storage for particular persistence id event/snapshot wasevent. -
expectNextPersisted
<A> A expectNextPersisted(String persistenceId, A event, scala.concurrent.duration.FiniteDuration max) Check formaxtime that next persisted in storage for particular persistence id event/snapshot wasevent. -
expectNextPersistedClass
Check that next persisted in storage for particular persistence id event/snapshot has expected type. -
expectNextPersistedClass
<A> A expectNextPersistedClass(String persistenceId, Class<A> cla, scala.concurrent.duration.FiniteDuration max) Check formaxtime that next persisted in storage for particular persistence id event/snapshot has expected type. -
expectNextPersistedType
Check that next persisted in storage for particular persistence id event/snapshot has expected type. -
expectNextPersistedType
<A> A expectNextPersistedType(String persistenceId, scala.concurrent.duration.FiniteDuration max, scala.reflect.ClassTag<A> t) Check formaxtime that next persisted in storage for particular persistence id event/snapshot has expected type. -
expectNothingPersisted
Check that nothing was persisted in storage for particular persistence id. -
expectNothingPersisted
Check formaxtime that nothing was persisted in storage for particular persistence id. -
getItem
-
maxTimeout
scala.concurrent.duration.FiniteDuration maxTimeout() -
pollInterval
scala.concurrent.duration.FiniteDuration pollInterval() -
probe
TestKitBase probe() -
receivePersisted
<A> scala.collection.immutable.Seq<A> receivePersisted(String persistenceId, int n, scala.concurrent.duration.FiniteDuration max, scala.reflect.ClassTag<A> t) Receive formaxtime nextnevents/snapshots that have been persisted in the storage. -
receivePersisted
<A> scala.collection.immutable.Seq<A> receivePersisted(String persistenceId, int n, scala.reflect.ClassTag<A> t) Receive nextnevents/snapshots that have been persisted in the storage. -
receivePersisted
Receive nextnevents/snapshots that have been persisted in the storage. -
receivePersisted
<A> scala.collection.immutable.Seq<A> receivePersisted(String persistenceId, int n, Class<A> cla, scala.concurrent.duration.FiniteDuration max) Receive formaxtime nextnevents/snapshots that have been persisted in the storage. -
reprToAny
-