Package csw.testkit
Class EventTestKit$
- java.lang.Object
-
- csw.testkit.EventTestKit$
-
public class EventTestKit$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static EventTestKit$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description EventTestKit$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventTestKit
apply(akka.actor.typed.ActorSystem<?> actorSystem, TestKitSettings testKitSettings)
Create a EventTestKitEventTestKit
create(akka.actor.typed.ActorSystem<?> actorSystem)
Java API to create a EventTestKitEventTestKit
create(TestKitSettings testKitSettings)
Java API to create a EventTestKit
-
-
-
Field Detail
-
MODULE$
public static final EventTestKit$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
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
public EventTestKit create(akka.actor.typed.ActorSystem<?> actorSystem)
Java API to create a EventTestKit- Parameters:
actorSystem
-- Returns:
- handle to EventTestKit which can be used to start and stop event service
-
create
public EventTestKit create(TestKitSettings testKitSettings)
Java API to create a EventTestKit- Parameters:
testKitSettings
- custom testKitSettings- Returns:
- handle to EventTestKit which can be used to start and stop event service
-
-