import akka.actor.ActorSystem;
import akka.testkit.javadsl.TestKit;
import com.typesafe.config.ConfigFactory;
-import java.io.IOException;
import org.junit.AfterClass;
import org.junit.BeforeClass;
private static ActorSystem system;
@BeforeClass
- public static void setUpClass() throws IOException {
+ public static void setUpClass() {
system = ActorSystem.create("test", ConfigFactory.load().getConfig("test-config"));
}
@AfterClass
- public static void tearDownClass() throws IOException {
+ public static void tearDownClass() {
TestKit.shutdownActorSystem(system);
system = null;
}