### Question:
ChronoFragment extends RoboFragment implements ChronoInterface { @Override public void onStop() { super.onStop(); mScrumTimer.stopCountDown(); mScrumTimer.stopTimer(); if (mTickPlayer != null) { mTickPlayer.release(); mTickPlayer = null; } if (mAlarmPlayer != null) { mAlarmPlayer.release(); mAlarmPlayer = null; } storeSlotTime(); }  @Override View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState); @Override void onStart(); @Override void onResume(); int getNumberOfParticipants(); @Override void setTime(int time); void pauseTickSound(); @Override void setDailyTimer(final String string); @Override void timeOut(); @Override void setCountDown(final String string); void resetBackground(); @Override void onStop(); int getNumberOfTimeouts(); String getPreparationTime(); static final String TOTAL_TIME; static final String TIMEOUTS; static final String WARMUP_TIME; static final String PREFS_NAME; static final String TIME_SLOT_LENGTH; }### Answer:
@Test public void whenPauseThenStoreValueFromSeekBar() { mSeekBar.setProgress(90); out.onStop(); verify(mockEditor).putInt(ChronoFragment.TIME_SLOT_LENGTH, 90); verify(mockEditor).commit(); }