@Test public void spywareCorrectAfterSingletonInitialization() { assertEquals(factory.getSpyware(), Core.getSpyware()); }
public static SpywarePluginLayer getSpyware() { return Core.getInstance().spyware; }
Core { public static SpywarePluginLayer getSpyware() { return Core.getInstance().spyware; } }
Core { public static SpywarePluginLayer getSpyware() { return Core.getInstance().spyware; } private  Core(ServiceFactory factory); }
Core { public static SpywarePluginLayer getSpyware() { return Core.getInstance().spyware; } 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 SpywarePluginLayer getSpyware() { return Core.getInstance().spyware; } 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);  }