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
ConstructorDescriptionActorSystemResource
(String name, com.typesafe.config.Config additionalConfig) -
Method Summary
Methods inherited from class org.junit.rules.ExternalResource
apply
-
Constructor Details
-
ActorSystemResource
-
-
Method Details
-
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()
-