App { public static void main(String[] args) { LOGGER.info("A simple looking troll approaches."); Troll troll = new SimpleTroll(); troll.attack(); troll.fleeBattle(); LOGGER.info("Simple troll power {}.\n", troll.getAttackPower()); LOGGER.info("A troll with huge club surprises you."); troll = new ClubbedTroll(troll); troll.attack(); troll.fleeBattle(); LOGGER.info("Clubbed troll power {}.\n", troll.getAttackPower()); }  static void main(String[] args);  }
@Test public void test() { String[] args = {}; App.main(args); }