@Test public void test() throws IOException { String[] args = {}; App.main(args); }
public static void main(String[] args) { App app = new App(new OrcBlacksmith()); app.manufactureWeapons(); app = new App(new ElfBlacksmith()); app.manufactureWeapons(); }
App { public static void main(String[] args) { App app = new App(new OrcBlacksmith()); app.manufactureWeapons(); app = new App(new ElfBlacksmith()); app.manufactureWeapons(); } }
App { public static void main(String[] args) { App app = new App(new OrcBlacksmith()); app.manufactureWeapons(); app = new App(new ElfBlacksmith()); app.manufactureWeapons(); } App(Blacksmith blacksmith); }
App { public static void main(String[] args) { App app = new App(new OrcBlacksmith()); app.manufactureWeapons(); app = new App(new ElfBlacksmith()); app.manufactureWeapons(); } App(Blacksmith blacksmith); static void main(String[] args); }
App { public static void main(String[] args) { App app = new App(new OrcBlacksmith()); app.manufactureWeapons(); app = new App(new ElfBlacksmith()); app.manufactureWeapons(); } App(Blacksmith blacksmith); static void main(String[] args);  }