### Question:
ChronoFragment extends RoboFragment implements ChronoInterface { public int getNumberOfParticipants() { return mNumberOfParticipants; }  @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 whenInPauseDoNotGoToNextParticipant() { wholeLayout.performClick(); wholeLayout.performLongClick(); when(mockTimer.isCountDownPaused()).thenReturn(true); wholeLayout.performClick(); assertEquals(1, out.getNumberOfParticipants()); }