App { public static void main(String[] args) { Weather weather = new Weather(); weather.addObserver(new Orcs()); weather.addObserver(new Hobbits()); weather.timePasses(); weather.timePasses(); weather.timePasses(); weather.timePasses(); System.out.println("\n--Running generic version--"); GWeather gWeather = new GWeather(); gWeather.addObserver(new GOrcs()); gWeather.addObserver(new GHobbits()); gWeather.timePasses(); gWeather.timePasses(); gWeather.timePasses(); gWeather.timePasses(); }  static void main(String[] args);  }
@Test public void test() { String[] args = {}; App.main(args); }