Package org.apache.pekko.actor.testkit.typed.javadsl
package org.apache.pekko.actor.testkit.typed.javadsl
-
ClassDescriptionJava API: Test kit for asynchronous testing of typed actors.Used for synchronous testing
pekko.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.Deprecated.Use JUnitJupiterTestKitBuilder instead.JUnitTestRuleto make log lines appear only when the test failed.Facilities for verifying logs.Facilities for selectively matching log messages.Not for user instantiation, seeManualTime.get(org.apache.pekko.actor.typed.ActorSystem<A>)Manual time allows you to do async tests while controlling the scheduler of the system.ReplyInbox<T>Similar to apekko.actor.testkit.typed.javadsl.TestInbox, but can only ever give access to a single message (a reply).Utilities to test serialization.Apekko.actor.testkit.typed.javadsl.ReplyInboxwhich specially handlespekko.pattern.StatusReply.TestInbox<T>Utility for use as anActorRefwhen *synchronously* testingpekko.actor.typed.Behaviorwithpekko.actor.testkit.typed.javadsl.BehaviorTestKit.Deprecated.Use TestKitJUnitJupiterExtension instead.A Junit external resource for theActorTestKit, making it possible to have Junit manage the lifecycle of the testkit.TestProbe<M>Java API: Create instances through thecreatefactories in theTestProbecompanion or viaActorTestKit.createTestProbe.