### Question:
App { public static void main(String[] args) throws InterruptedException { var app = new App(); try { app.promiseUsage(); } finally { app.stop(); } } private  App(); static void main(String[] args);  }### Answer:
@Test void shouldExecuteApplicationWithoutException() { assertDoesNotThrow(() -> App.main(null)); }