### Question:
ShortPreference { public short get() { return (short) mIntPreference.get(); } ShortPreference(final SharedPreferences preferences, final String key);  ShortPreference(final SharedPreferences preferences, final String key, int defaultValue); short get(); boolean isSet(); void set(final short value); void delete(); static final short DEFAULT_VALUE_VALUE; }### Answer:
@Test public void expect_Preference_To_EqualDefaultValue() throws Exception { final SharedPreferences sharedPreferences = getSharedPreferences(); ShortPreference preference = new ShortPreference(sharedPreferences, PREFERENCES_KEY); final short value = preference.get(); assertEquals(value, ShortPreference.DEFAULT_VALUE_VALUE); }
@Test public void expect_Preference_To_EqualDefaultValue_BeforeBeingSet() throws Exception { final short value = mPreference.get(); assertEquals(value, mDefaultValue); assertNotEquals(value, mTestValue); }