Package csw.testkit

Class ConfigTestKit$

java.lang.Object
csw.testkit.ConfigTestKit$

public class ConfigTestKit$ extends Object
  • Field Details

    • MODULE$

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

    • ConfigTestKit$

      public ConfigTestKit$()
  • Method Details

    • apply

      public ConfigTestKit apply(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem, scala.Option<com.typesafe.config.Config> serverConfig, TestKitSettings testKitSettings)
      Create a ConfigTestKit

      When the test has completed you should shutdown the config server with ConfigTestKit.shutdownConfigServer().

      Parameters:
      actorSystem - (undocumented)
      serverConfig - (undocumented)
      testKitSettings - (undocumented)
      Returns:
      (undocumented)
    • create

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

      Parameters:
      actorSystem -
      Returns:
      handle to ConfigTestKit which can be used to start and stop config server
    • create

      public ConfigTestKit create(com.typesafe.config.Config serverConfig)
      Java API for creating ConfigTestKit

      Parameters:
      serverConfig - custom configuration with which to start config server
      Returns:
      handle to ConfigTestKit which can be used to start and stop config server
    • create

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

      Parameters:
      testKitSettings - custom testKitSettings
      Returns:
      handle to ConfigTestKit which can be used to start and stop config server
    • create

      public ConfigTestKit create(com.typesafe.config.Config serverConfig, TestKitSettings testKitSettings)
      Java API for creating ConfigTestKit

      Parameters:
      serverConfig - custom configuration with which to start config server
      testKitSettings - custom testKitSettings
      Returns:
      handle to ConfigTestKit which can be used to start and stop config server