Package csw.testkit

Class FrameworkTestKit$

java.lang.Object
csw.testkit.FrameworkTestKit$

public class FrameworkTestKit$ extends Object
  • Field Details

    • MODULE$

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

    • FrameworkTestKit$

      public FrameworkTestKit$()
  • Method Details

    • apply

      public FrameworkTestKit apply(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem, TestKitSettings testKitSettings)
      Scala API for creating FrameworkTestKit

      Parameters:
      actorSystem - actorSystem used for spawning components
      testKitSettings - custom testKitSettings
      Returns:
      handle to FrameworkTestKit which can be used to start and stop all services started
    • create

      public FrameworkTestKit create()
      Java API for creating FrameworkTestKit

      Returns:
      handle to FrameworkTestKit which can be used to start and stop all services started
    • create

      public FrameworkTestKit create(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem)
      Java API for creating FrameworkTestKit

      Parameters:
      actorSystem - actorSystem used for spawning components
      Returns:
      handle to FrameworkTestKit which can be used to start and stop all services started
    • create

      public FrameworkTestKit create(TestKitSettings testKitSettings)
      Java API for creating FrameworkTestKit

      Parameters:
      testKitSettings - custom testKitSettings
      Returns:
      handle to FrameworkTestKit which can be used to start and stop all services started