Package csw.testkit

Class FrameworkTestKit$


  • public class FrameworkTestKit$
    extends java.lang.Object
    • Field Detail

      • MODULE$

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

      • FrameworkTestKit$

        public FrameworkTestKit$()
    • Method Detail

      • apply

        public FrameworkTestKit apply​(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol> 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> 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