mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-02-23 00:23:40 +00:00
13 lines
478 B
Scala
13 lines
478 B
Scala
// Copyright (c) 2017 PSForever
|
|
package objects
|
|
|
|
import akka.actor.ActorSystem
|
|
import akka.testkit.{ImplicitSender, TestKit}
|
|
import org.scalatest.{BeforeAndAfterAll, Matchers, WordSpecLike}
|
|
import org.specs2.specification.Scope
|
|
|
|
abstract class ActorTest(sys : ActorSystem = ActorSystem("system")) extends TestKit(sys) with Scope with ImplicitSender with WordSpecLike with Matchers with BeforeAndAfterAll {
|
|
override def afterAll {
|
|
TestKit.shutdownActorSystem(system)
|
|
}
|
|
}
|