Package akka.http.javadsl.testkit
Class ActorSystemResource
- java.lang.Object
-
- org.junit.rules.ExternalResource
-
- akka.http.javadsl.testkit.ActorSystemResource
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class ActorSystemResource extends org.junit.rules.ExternalResource
-
-
Constructor Summary
Constructors Constructor Description ActorSystemResource(java.lang.String name, com.typesafe.config.Config additionalConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
after()
void
before()
protected com.typesafe.config.Config
config()
protected akka.actor.ActorSystem
createSystem()
akka.stream.Materializer
materializer()
akka.actor.ActorSystem
system()
-
-
-
Method Detail
-
after
public void after()
- Overrides:
after
in classorg.junit.rules.ExternalResource
-
before
public void before()
- Overrides:
before
in classorg.junit.rules.ExternalResource
-
config
protected com.typesafe.config.Config config()
-
createSystem
protected akka.actor.ActorSystem createSystem()
-
materializer
public akka.stream.Materializer materializer()
-
system
public akka.actor.ActorSystem system()
-
-