pekko/akka-stream/src/test/scala/akka/stream/WithActorSystem.scala

14 lines
321 B
Scala
Raw Normal View History

2014-03-28 12:13:57 +01:00
/**
* 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()
}