ATInternet { public static ATInternet getInstance() { return instance; } private  ATInternet(); static void setDatabasePath(String path); static String getDatabasePath(); static void optOut(android.content.Context context, final boolean enabled); static boolean optOutEnabled(android.content.Context context); static ATInternet getInstance(); Tracker getDefaultTracker(); Tracker getTracker(String trackerName); Tracker getTracker(android.content.Context context, String trackerName); Tracker getTracker(String trackerName, HashMap<String, Object> configuration); Tracker getTracker(android.content.Context context, String trackerName, HashMap<String, Object> configuration); String getApplicationVersion(); void setApplicationVersion(String apvr); String getUserAgent(); void setUserAgent(String ua); static final int ALLOW_OVERLAY_INTENT_RESULT_CODE; }
@Test public void getInstanceTest() { ATInternet atInternet = ATInternet.getInstance(); assertEquals(atInternet, ATInternet.getInstance()); }