@Test public void settingsCorrectAfterSingletonInitialization() { assertEquals(factory.getSettings(), Core.getSettings()); }
public static Settings getSettings() { return Core.getInstance().settings; }
Core { public static Settings getSettings() { return Core.getInstance().settings; } }
Core { public static Settings getSettings() { return Core.getInstance().settings; } private  Core(ServiceFactory factory); }
Core { public static Settings getSettings() { return Core.getInstance().settings; } private  Core(ServiceFactory factory); static void setErrorHandler(TMCErrorHandler errorHandler); static TMCErrorHandler getErrorHandler(); static void setTaskRunner(BackgroundTaskRunner taskRunner); static BackgroundTaskRunner getTaskRunner(); static Settings getSettings(); static CourseDAO getCourseDAO(); static ProjectDAO getProjectDAO(); static ReviewDAO getReviewDAO(); static ServerManager getServerManager(); static Updater getUpdater(); static SpywarePluginLayer getSpyware(); static ProjectEventHandler getProjectEventHandler(); static IOFactory getIOFactory(); static Core getInstance(); static Core getInstance(ServiceFactory factory); }
Core { public static Settings getSettings() { return Core.getInstance().settings; } private  Core(ServiceFactory factory); static void setErrorHandler(TMCErrorHandler errorHandler); static TMCErrorHandler getErrorHandler(); static void setTaskRunner(BackgroundTaskRunner taskRunner); static BackgroundTaskRunner getTaskRunner(); static Settings getSettings(); static CourseDAO getCourseDAO(); static ProjectDAO getProjectDAO(); static ReviewDAO getReviewDAO(); static ServerManager getServerManager(); static Updater getUpdater(); static SpywarePluginLayer getSpyware(); static ProjectEventHandler getProjectEventHandler(); static IOFactory getIOFactory(); static Core getInstance(); static Core getInstance(ServiceFactory factory);  }