@Test public void test() throws IOException { String[] args = {}; App.main(args); }
public static void main(String[] args) { Mutex mutex = new Mutex(); Jar jar = new Jar(1000, mutex); Thief peter = new Thief("Peter", jar); Thief john = new Thief("John", jar); peter.start(); john.start(); }
App { public static void main(String[] args) { Mutex mutex = new Mutex(); Jar jar = new Jar(1000, mutex); Thief peter = new Thief("Peter", jar); Thief john = new Thief("John", jar); peter.start(); john.start(); } }
App { public static void main(String[] args) { Mutex mutex = new Mutex(); Jar jar = new Jar(1000, mutex); Thief peter = new Thief("Peter", jar); Thief john = new Thief("John", jar); peter.start(); john.start(); }  }
App { public static void main(String[] args) { Mutex mutex = new Mutex(); Jar jar = new Jar(1000, mutex); Thief peter = new Thief("Peter", jar); Thief john = new Thief("John", jar); peter.start(); john.start(); }  static void main(String[] args); }
App { public static void main(String[] args) { Mutex mutex = new Mutex(); Jar jar = new Jar(1000, mutex); Thief peter = new Thief("Peter", jar); Thief john = new Thief("John", jar); peter.start(); john.start(); }  static void main(String[] args);  }