Advertisement
alexlehm

Untitled

Sep 2nd, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.49 KB | None | 0 0
  1. @Before
  2.     public void setUp(TestContext context) throws IOException, InterruptedException {
  3.         logger = LoggerFactory.getLogger(LoginServiceTest.class.getName());
  4.         vertx = Vertx.vertx();
  5.         Async async1 = context.async();
  6.         Async async2 = context.async();
  7.         vertx.deployVerticle(RestEntry.class.getName(), v -> async1.complete());
  8.         vertx.deployVerticle(LoginService.class.getName(), v -> async2.complete());
  9.         System.out.println("Setup completed");
  10.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement