Package csw.testkit

Class EventTestKit$


  • public class EventTestKit$
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static EventTestKit$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      EventTestKit$()  
    • Field Detail

      • MODULE$

        public static final EventTestKit$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • EventTestKit$

        public EventTestKit$()
    • Method Detail

      • apply

        public EventTestKit apply​(akka.actor.typed.ActorSystem<?> actorSystem,
                                  TestKitSettings testKitSettings)
        Create a EventTestKit

        When the test has completed you should shutdown the event service with EventTestKit.shutdownEventService().

        Parameters:
        actorSystem - (undocumented)
        testKitSettings - (undocumented)
        Returns:
        handle to EventTestKit which can be used to start and stop event service
      • create

        public EventTestKit create​(akka.actor.typed.ActorSystem<?> actorSystem)
        Java API to create a EventTestKit

        Parameters:
        actorSystem -
        Returns:
        handle to EventTestKit which can be used to start and stop event service
      • create

        public EventTestKit create​(TestKitSettings testKitSettings)
        Java API to create a EventTestKit

        Parameters:
        testKitSettings - custom testKitSettings
        Returns:
        handle to EventTestKit which can be used to start and stop event service