App { public static void main(String[] args) { System.out.println("A simple looking troll approaches."); Hostile troll = new Troll(); troll.attack(); troll.fleeBattle(); System.out.println("\nA smart looking troll surprises you."); Hostile smart = new SmartTroll(troll); smart.attack(); smart.fleeBattle(); }  static void main(String[] args);  }
@Test public void test() { String[] args = {}; App.main(args); }