Class 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()  
      • Methods inherited from class org.junit.rules.ExternalResource

        apply
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ActorSystemResource

        public ActorSystemResource​(java.lang.String name,
                                   com.typesafe.config.Config additionalConfig)
    • Method Detail

      • after

        public void after()
        Overrides:
        after in class org.junit.rules.ExternalResource
      • before

        public void before()
        Overrides:
        before in class org.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()