### Question:
ContextUtil { public static SharedPreferences getSharedPreferences(String name, int mode) { return getContext().getSharedPreferences(name, mode); } private  ContextUtil(); static void init(Context context); static void terminate(); static Context getContext(); static AssetManager getAssets(); static PackageManager getPackageManager(); static String getPackageName(); static SharedPreferences getSharedPreferences(String name, int mode);  }### Answer:
@Test public void testGetPreferences() { assertNotNull(getSharedPreferences("lala", Context.MODE_PRIVATE)); }