Class StreamTestKit


  • public class StreamTestKit
    extends java.lang.Object
    • Constructor Detail

      • StreamTestKit

        public StreamTestKit()
    • Method Detail

      • assertAllStagesStopped

        public static void assertAllStagesStopped​(Materializer mat)
        Assert that there are no stages running under a given materializer. Usually this assertion is run after a test-case to check that all of the stages have terminated successfully.
      • assertAllStagesStopped

        public static void assertAllStagesStopped​(Materializer mat,
                                                  java.time.Duration overrideTimeout)
        Assert that there are no stages running under a given materializer. Usually this assertion is run after a test-case to check that all of the stages have terminated successfully with an overridden duration that ignores stream.testkit.all-stages-stopped-timeout.
      • assertAllStagesStopped

        public static void assertAllStagesStopped​(ClassicActorSystemProvider system)
        Assert that there are no stages running under a given system's materializer. Usually this assertion is run after a test-case to check that all of the stages have terminated successfully.