### Question:
App { public static void main(String[] args) { var holderNaive = new HolderNaive(); var heavy = holderNaive.getHeavy(); LOGGER.info("heavy={}", heavy); var holderThreadSafe = new HolderThreadSafe(); var another = holderThreadSafe.getHeavy(); LOGGER.info("another={}", another); var java8Holder = new Java8Holder(); var next = java8Holder.getHeavy(); LOGGER.info("next={}", next); }  static void main(String[] args);  }### Answer:
@Test void shouldExecuteApplicationWithoutException() { assertDoesNotThrow(() -> App.main(new String[]{})); }