@Test public void getSelectedPage_returns_null_if_nothing_stored() { assertNull(pageStorage.getSelectedPage()); }
@Nullable String getSelectedPage() { return preferences.getString(KEY_SELECTED_PAGE_ID, null); }
SelectedPageStorage { @Nullable String getSelectedPage() { return preferences.getString(KEY_SELECTED_PAGE_ID, null); } }
SelectedPageStorage { @Nullable String getSelectedPage() { return preferences.getString(KEY_SELECTED_PAGE_ID, null); } SelectedPageStorage(SharedPreferences preferences); }
SelectedPageStorage { @Nullable String getSelectedPage() { return preferences.getString(KEY_SELECTED_PAGE_ID, null); } SelectedPageStorage(SharedPreferences preferences);  }
SelectedPageStorage { @Nullable String getSelectedPage() { return preferences.getString(KEY_SELECTED_PAGE_ID, null); } SelectedPageStorage(SharedPreferences preferences);   }