pekko/akka-stream/src/test/scala/akka/stream/WithActorSystem.scala
2014-04-16 17:10:02 +02:00

14 lines
No EOL
321 B
Scala

/**
* Copyright (C) 2014 Typesafe Inc. <http://www.typesafe.com>
*/
package akka.stream
import akka.actor.ActorSystem
import org.testng.annotations.AfterClass
trait WithActorSystem {
val system: ActorSystem = ActorSystem(getClass.getSimpleName)
@AfterClass
def shutdownActorSystem(): Unit = system.shutdown()
}