Package org.apache.pekko.actor.testkit.typed.scaladsl
package org.apache.pekko.actor.testkit.typed.scaladsl
-
ClassDescriptionTestkit for asynchronous testing of typed actors, meant for mixing into the test class.A base class for the
ActorTestKit, making it possible to have testing framework (e.g.Used for synchronous testingpekko.actor.typed.Behaviors.Factories for behavior effects forBehaviorTestKit, each effect has a suitable equals and can be used to compare actual effects to expected ones.Factories for behavior effects forBehaviorTestKit, each effect has a suitable equals and can be used to compare actual effects to expected ones.Mixin this trait to a ScalaTest test to make log lines appear only when the test failed.Facilities for verifying logs.Facilities for selectively matching expected events from logging.Not for user instantiation, seeManualTime.apply(org.apache.pekko.actor.typed.ActorSystem<?>)Manual time allows you to do async tests while controlling the scheduler of the system.ReplyInbox<T>Similar to anakka.actor.testkit.typed.scaladsl.TestInbox, but can only ever give access to a single message (a reply).A ScalaTest base class for theActorTestKit, making it possible to have ScalaTest manage the lifecycle of the testkit.A ScalaTest base trait for theActorTestKitwhichScalaTestWithActorTestKitextends.Utilities to test serialization.Aakka.actor.testkit.typed.scaladsl.ReplyInboxwhich specially handlesakka.pattern.StatusReply.TestInbox<T>Utility for use as anActorRefwhen *synchronously* testingpekko.actor.typed.Behaviorwithpekko.actor.testkit.typed.javadsl.BehaviorTestKit.TestProbe<M>Create instances through the factories in theTestProbecompanion.