test_class.declarator: mMockSharedPreferencesHelper
test_class.modifier: private
test_class.original_string: private SharedPreferencesHelper mMockSharedPreferencesHelper;
test_class.type: SharedPreferencesHelper
test_class.var_name: mMockSharedPreferencesHelper
test_class.declarator: mMockBrokenSharedPreferencesHelper
test_class.modifier: private
test_class.original_string: private SharedPreferencesHelper mMockBrokenSharedPreferencesHelper;
test_class.type: SharedPreferencesHelper
test_class.var_name: mMockBrokenSharedPreferencesHelper
test_class.declarator: mMockSharedPreferences
test_class.modifier: @Mock
test_class.original_string: @Mock
      SharedPreferences mMockSharedPreferences;
test_class.type: SharedPreferences
test_class.var_name: mMockSharedPreferences
test_class.declarator: mMockBrokenSharedPreferences
test_class.modifier: @Mock
test_class.original_string: @Mock
      SharedPreferences mMockBrokenSharedPreferences;
test_class.type: SharedPreferences
test_class.var_name: mMockBrokenSharedPreferences
test_class.declarator: mMockEditor
test_class.modifier: @Mock
test_class.original_string: @Mock
      SharedPreferences.Editor mMockEditor;
test_class.type: SharedPreferences.Editor
test_class.var_name: mMockEditor
test_class.declarator: mMockBrokenEditor
test_class.modifier: @Mock
test_class.original_string: @Mock
      SharedPreferences.Editor mMockBrokenEditor;
test_class.type: SharedPreferences.Editor
test_class.var_name: mMockBrokenEditor
test_class.file: app/src/test/java/com/michaelvescovo/android/itemreaper/SharedPreferencesHelperTest.java
test_class.identifier: SharedPreferencesHelperTest
test_case.body: @Test
      public void saveSortByFailed_ReturnsFalse() {
          boolean success = mMockBrokenSharedPreferencesHelper.saveSortBy(SORT_BY_EXPIRY);
          assertThat("Makes sure writing to a broken SharedPreferencesHelper returns false", success,
                  is(false));
      }
test_case.class_method_signature: SharedPreferencesHelperTest.saveSortByFailed_ReturnsFalse()
test_case.full_signature: @Test public void saveSortByFailed_ReturnsFalse()
test_case.identifier: saveSortByFailed_ReturnsFalse
test_case.invocations: saveSortBy assertThat is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void saveSortByFailed_ReturnsFalse()
focal_class.declarator: KEY_IMAGE_UPLOADING = "image_uploading_"
focal_class.modifier: private static final
focal_class.original_string: private static final String KEY_IMAGE_UPLOADING = "image_uploading_";
focal_class.type: String
focal_class.var_name: KEY_IMAGE_UPLOADING
focal_class.declarator: mSharedPreferences
focal_class.modifier: private final
focal_class.original_string: private final SharedPreferences mSharedPreferences;
focal_class.type: SharedPreferences
focal_class.var_name: mSharedPreferences
focal_class.file: app/src/main/java/com/michaelvescovo/android/itemreaper/SharedPreferencesHelper.java
focal_class.identifier: SharedPreferencesHelper
focal_class.class_method_signature: SharedPreferencesHelper.SharedPreferencesHelper(SharedPreferences sharedPreferences)
focal_class.full_signature: public  SharedPreferencesHelper(SharedPreferences sharedPreferences)
focal_class.identifier: SharedPreferencesHelper
focal_class.modifiers: public
focal_class.parameters: (SharedPreferences sharedPreferences)
focal_class.signature:  SharedPreferencesHelper(SharedPreferences sharedPreferences)
focal_class.class_method_signature: SharedPreferencesHelper.saveSortBy(int sortBy)
focal_class.full_signature: public boolean saveSortBy(int sortBy)
focal_class.identifier: saveSortBy
focal_class.modifiers: public
focal_class.parameters: (int sortBy)
focal_class.return: boolean
focal_class.signature: boolean saveSortBy(int sortBy)
focal_class.class_method_signature: SharedPreferencesHelper.getSortBy()
focal_class.full_signature: public int getSortBy()
focal_class.identifier: getSortBy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSortBy()
focal_class.class_method_signature: SharedPreferencesHelper.imageUploading(String itemId)
focal_class.full_signature: public boolean imageUploading(String itemId)
focal_class.identifier: imageUploading
focal_class.modifiers: public
focal_class.parameters: (String itemId)
focal_class.return: boolean
focal_class.signature: boolean imageUploading(String itemId)
focal_class.class_method_signature: SharedPreferencesHelper.setImageUploading(String itemId)
focal_class.full_signature: public void setImageUploading(String itemId)
focal_class.identifier: setImageUploading
focal_class.modifiers: public
focal_class.parameters: (String itemId)
focal_class.return: void
focal_class.signature: void setImageUploading(String itemId)
focal_class.class_method_signature: SharedPreferencesHelper.removeImageUploading(String itemId)
focal_class.full_signature: public void removeImageUploading(String itemId)
focal_class.identifier: removeImageUploading
focal_class.modifiers: public
focal_class.parameters: (String itemId)
focal_class.return: void
focal_class.signature: void removeImageUploading(String itemId)
focal_method.body: public boolean saveSortBy(int sortBy) {
          SharedPreferences.Editor editor = mSharedPreferences.edit();
          editor.putInt(STATE_CURRENT_SORT, sortBy);
          return editor.commit();
      }
focal_method.class_method_signature: SharedPreferencesHelper.saveSortBy(int sortBy)
focal_method.full_signature: public boolean saveSortBy(int sortBy)
focal_method.identifier: saveSortBy
focal_method.invocations: edit putInt commit
focal_method.modifiers: public
focal_method.parameters: (int sortBy)
focal_method.return: boolean
focal_method.signature: boolean saveSortBy(int sortBy)