Package csw.testkit
Class EventTestKit$
java.lang.Object
csw.testkit.EventTestKit$
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EventTestKit$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(akka.actor.typed.ActorSystem<?> actorSystem, TestKitSettings testKitSettings) Create a EventTestKitcreate
(akka.actor.typed.ActorSystem<?> actorSystem) Java API to create a EventTestKitcreate
(TestKitSettings testKitSettings) Java API to create a EventTestKit
-
Field Details
-
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 EventTestKitWhen 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
Java API to create a EventTestKit- Parameters:
actorSystem
-- Returns:
- handle to EventTestKit which can be used to start and stop event service
-
create
Java API to create a EventTestKit- Parameters:
testKitSettings
- custom testKitSettings- Returns:
- handle to EventTestKit which can be used to start and stop event service
-