Package csw.testkit

Class EventTestKit$

java.lang.Object
csw.testkit.EventTestKit$

public class EventTestKit$ extends Object
  • Field Details

    • MODULE$

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

    • EventTestKit$

      public EventTestKit$()
  • Method Details

    • 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