Package csw.testkit
Class DatabaseTestKit$
java.lang.Object
csw.testkit.DatabaseTestKit$
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DatabaseTestKit$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem, TestKitSettings testKitSettings) Create a DatabaseTestKit
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
DatabaseTestKit$
public DatabaseTestKit$()
-
-
Method Details
-
apply
public DatabaseTestKit apply(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem, TestKitSettings testKitSettings) Create a DatabaseTestKitWhen the test has completed you should shutdown the Database service with
EmbeddedPG.shutdown()
.- Parameters:
actorSystem
- (undocumented)testKitSettings
- (undocumented)- Returns:
- handle to DatabaseTestKit which can be used to start and stop Database service
-