### Question:
GcmController { public void storeRegistrationId(String id) { mSharedPreferences.edit().putString(PROPERTY_GCM_REG_ID, id).apply(); } GcmController(AppConfig appConfig, SharedPreferences sharedPreferences); String getSenderId(); String getRegistrationId(); void storeRegistrationId(String id); static final String OS_ANDROID; static final String PROPERTY_GCM_REG_ID; static final String PREF_SENDER_ID; }### Answer:
@Test public void storeRegistrationId() { mController.storeRegistrationId(TEST_ID); verify(mEditor).putString(GcmController.PROPERTY_GCM_REG_ID, TEST_ID); }