@Test public void shouldNotBeNull() { SharedPreferences sharedPreferences = sharedPreferencesModule.provideSharedPreferences(RuntimeEnvironment.application); assertThat(sharedPreferences).isNotNull(); }
@Provides @Singleton SharedPreferences provideSharedPreferences(@NonNull Application app) { return PreferenceManager.getDefaultSharedPreferences(checkNotNull(app)); }
SharedPreferencesModule { @Provides @Singleton SharedPreferences provideSharedPreferences(@NonNull Application app) { return PreferenceManager.getDefaultSharedPreferences(checkNotNull(app)); } }
SharedPreferencesModule { @Provides @Singleton SharedPreferences provideSharedPreferences(@NonNull Application app) { return PreferenceManager.getDefaultSharedPreferences(checkNotNull(app)); }  }
SharedPreferencesModule { @Provides @Singleton SharedPreferences provideSharedPreferences(@NonNull Application app) { return PreferenceManager.getDefaultSharedPreferences(checkNotNull(app)); }   }
SharedPreferencesModule { @Provides @Singleton SharedPreferences provideSharedPreferences(@NonNull Application app) { return PreferenceManager.getDefaultSharedPreferences(checkNotNull(app)); }    }