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 voidafter()voidbefore()protected com.typesafe.config.Configconfig()protected akka.actor.ActorSystemcreateSystem()akka.stream.Materializermaterializer()akka.actor.ActorSystemsystem()
-
-
-
Method Detail
-
after
public void after()
- Overrides:
afterin classorg.junit.rules.ExternalResource
-
before
public void before()
- Overrides:
beforein 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()
-
-