Class Utils

java.lang.Object
org.apache.pekko.stream.testkit.Utils

public class Utils extends Object
  • Constructor Details

    • Utils

      public Utils()
  • Method Details

    • UnboundedMailboxConfig

      public static com.typesafe.config.Config UnboundedMailboxConfig()
      Sets the default-mailbox to the usual pekko.dispatch.UnboundedMailbox instead of StreamTestDefaultMailbox.
    • assertAllStagesStopped

      public static <T> T assertAllStagesStopped(scala.Function0<T> block, org.apache.pekko.stream.Materializer materializer)
    • assertDispatcher

      public static void assertDispatcher(org.apache.pekko.actor.ActorRef ref, String dispatcher)