private void storeOriginal ( Pair < String , Object > keyValue ) { String key = SharedPreferenceUtils . keyTestMode + keyValue . first ; if ( ! preferenceUtils . isValueExistForKey ( key ) ) { preferenceUtils . put ( key , keyValue . second ) ; } }
Store original value before it s changed in test mode . It will take care not to over write if original value is already stored .