14 lines
No EOL
321 B
Scala
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()
|
|
} |