@Test public void testSet() throws Exception { dummyTaste.setEditor(editor); dummyTaste = spy(dummyTaste); dummyTaste.set("sample-value"); verify(dummyTaste).editor("sample-value"); verify(editor).apply(); }
void set(Object object) { save(editor(object), false); }
Taste { void set(Object object) { save(editor(object), false); } }
Taste { void set(Object object) { save(editor(object), false); } Taste(SharedPreferences sp, String key, String[] defaultValue); }
Taste { void set(Object object) { save(editor(object), false); } Taste(SharedPreferences sp, String key, String[] defaultValue);  }
Taste { void set(Object object) { save(editor(object), false); } Taste(SharedPreferences sp, String key, String[] defaultValue);   }