App { public static void main(String[] args) { Tenant adidas = new Tenant("Adidas", 5); Tenant nike = new Tenant("Nike", 6); ExecutorService executorService = Executors.newFixedThreadPool(2); executorService.execute(() -> makeServiceCalls(adidas)); executorService.execute(() -> makeServiceCalls(nike)); executorService.shutdown(); try { executorService.awaitTermination(10, TimeUnit.SECONDS); } catch (InterruptedException e) { LOGGER.error("Executor Service terminated: {}", e.getMessage()); } }  static void main(String[] args);  }
@Test public void test() { final String[] args = {}; App.main(args); }