@Test public void setKey_call_setKey_for_all_savers() throws Exception { Phial.setKey("key", "value"); savers.forEach(saver -> verify(saver).save(anyString(), eq("key"), eq("value")) ); }
public static void setKey(String key, String value) { DEFAULT_CATEGORY.setKey(key, value); }
Phial { public static void setKey(String key, String value) { DEFAULT_CATEGORY.setKey(key, value); } }
Phial { public static void setKey(String key, String value) { DEFAULT_CATEGORY.setKey(key, value); }  }
Phial { public static void setKey(String key, String value) { DEFAULT_CATEGORY.setKey(key, value); }  static void setKey(String key, String value); static void setKey(@NonNull String key, @Nullable Object value); static void removeKey(String key); static Category category(String name); static void removeCategory(String name); static void addSaver(Saver saver); static void removeSaver(Saver saver); }
Phial { public static void setKey(String key, String value) { DEFAULT_CATEGORY.setKey(key, value); }  static void setKey(String key, String value); static void setKey(@NonNull String key, @Nullable Object value); static void removeKey(String key); static Category category(String name); static void removeCategory(String name); static void addSaver(Saver saver); static void removeSaver(Saver saver);  }