use of androidx.security.crypto.EncryptedSharedPreferences in project braintree_android by braintree.
the class BraintreeSharedPreferencesTest method getSharedPreferences_returnsEncryptedSharedPreferences.
@Test
public void getSharedPreferences_returnsEncryptedSharedPreferences() {
BraintreeSharedPreferences sut = BraintreeSharedPreferences.getInstance();
SharedPreferences sharedPreferences = getSharedPreferences(ApplicationProvider.getApplicationContext());
assertTrue(sharedPreferences instanceof EncryptedSharedPreferences);
}
Aggregations