@Test public void warning_whenNeitherServerOrAdminPasswordSet_isNull() { QRCodeViewModel viewModel = new QRCodeViewModel(qrCodeGenerator, preferences, preferences, fakeScheduler); assertThat(viewModel.getWarning().getValue(), is(nullValue())); }
public LiveData<Integer> getWarning() { return warning; }
QRCodeViewModel extends ViewModel { public LiveData<Integer> getWarning() { return warning; } }
QRCodeViewModel extends ViewModel { public LiveData<Integer> getWarning() { return warning; } QRCodeViewModel(QRCodeGenerator qrCodeGenerator, SharedPreferences generalSharedPreferences, SharedPreferences adminSharedPreferences, Scheduler scheduler); }
QRCodeViewModel extends ViewModel { public LiveData<Integer> getWarning() { return warning; } QRCodeViewModel(QRCodeGenerator qrCodeGenerator, SharedPreferences generalSharedPreferences, SharedPreferences adminSharedPreferences, Scheduler scheduler); LiveData<String> getFilePath(); LiveData<Bitmap> getBitmap(); LiveData<Integer> getWarning(); void setIncludedKeys(Collection<String> includedKeys); }
QRCodeViewModel extends ViewModel { public LiveData<Integer> getWarning() { return warning; } QRCodeViewModel(QRCodeGenerator qrCodeGenerator, SharedPreferences generalSharedPreferences, SharedPreferences adminSharedPreferences, Scheduler scheduler); LiveData<String> getFilePath(); LiveData<Bitmap> getBitmap(); LiveData<Integer> getWarning(); void setIncludedKeys(Collection<String> includedKeys);  }