Skip to content

Instantly share code, notes, and snippets.

@jbcpollak
Created November 13, 2013 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbcpollak/7442533 to your computer and use it in GitHub Desktop.
Save jbcpollak/7442533 to your computer and use it in GitHub Desktop.
FutureFactoryTestBase
public class FutureFactoryTestBase {
protected ExecutionContext ec;
@Before
public void setup() {
Config config = ConfigFactory.load();
ActorSystem system = ActorSystem.create("test", config);
ec = system.dispatchers().lookup("akka.test.calling-thread-dispatcher");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment