@Test public void main() throws Exception { String[] args = {}; App.main(args); }
public static void main(String[] args) { Unit soldierUnit = new SoldierUnit("SoldierUnit1"); Unit sergeantUnit = new SergeantUnit("SergeantUnit1"); Unit commanderUnit = new CommanderUnit("CommanderUnit1"); checkExtensionsForUnit(soldierUnit); checkExtensionsForUnit(sergeantUnit); checkExtensionsForUnit(commanderUnit); }
App { public static void main(String[] args) { Unit soldierUnit = new SoldierUnit("SoldierUnit1"); Unit sergeantUnit = new SergeantUnit("SergeantUnit1"); Unit commanderUnit = new CommanderUnit("CommanderUnit1"); checkExtensionsForUnit(soldierUnit); checkExtensionsForUnit(sergeantUnit); checkExtensionsForUnit(commanderUnit); } }
App { public static void main(String[] args) { Unit soldierUnit = new SoldierUnit("SoldierUnit1"); Unit sergeantUnit = new SergeantUnit("SergeantUnit1"); Unit commanderUnit = new CommanderUnit("CommanderUnit1"); checkExtensionsForUnit(soldierUnit); checkExtensionsForUnit(sergeantUnit); checkExtensionsForUnit(commanderUnit); }  }
App { public static void main(String[] args) { Unit soldierUnit = new SoldierUnit("SoldierUnit1"); Unit sergeantUnit = new SergeantUnit("SergeantUnit1"); Unit commanderUnit = new CommanderUnit("CommanderUnit1"); checkExtensionsForUnit(soldierUnit); checkExtensionsForUnit(sergeantUnit); checkExtensionsForUnit(commanderUnit); }  static void main(String[] args); }
App { public static void main(String[] args) { Unit soldierUnit = new SoldierUnit("SoldierUnit1"); Unit sergeantUnit = new SergeantUnit("SergeantUnit1"); Unit commanderUnit = new CommanderUnit("CommanderUnit1"); checkExtensionsForUnit(soldierUnit); checkExtensionsForUnit(sergeantUnit); checkExtensionsForUnit(commanderUnit); }  static void main(String[] args);  }