@Test public void test() throws IOException { String[] args = {}; App.main(args); }
public static void main(String[] args) { FruitShop shop = new FruitShop(); new Customer("Peter", shop).start(); new Customer("Paul", shop).start(); new Customer("Mary", shop).start(); new Customer("John", shop).start(); new Customer("Ringo", shop).start(); new Customer("George", shop).start(); }
App { public static void main(String[] args) { FruitShop shop = new FruitShop(); new Customer("Peter", shop).start(); new Customer("Paul", shop).start(); new Customer("Mary", shop).start(); new Customer("John", shop).start(); new Customer("Ringo", shop).start(); new Customer("George", shop).start(); } }
App { public static void main(String[] args) { FruitShop shop = new FruitShop(); new Customer("Peter", shop).start(); new Customer("Paul", shop).start(); new Customer("Mary", shop).start(); new Customer("John", shop).start(); new Customer("Ringo", shop).start(); new Customer("George", shop).start(); }  }
App { public static void main(String[] args) { FruitShop shop = new FruitShop(); new Customer("Peter", shop).start(); new Customer("Paul", shop).start(); new Customer("Mary", shop).start(); new Customer("John", shop).start(); new Customer("Ringo", shop).start(); new Customer("George", shop).start(); }  static void main(String[] args); }
App { public static void main(String[] args) { FruitShop shop = new FruitShop(); new Customer("Peter", shop).start(); new Customer("Paul", shop).start(); new Customer("Mary", shop).start(); new Customer("John", shop).start(); new Customer("Ringo", shop).start(); new Customer("George", shop).start(); }  static void main(String[] args);  }