@Test public void testSettings_ShowParticles_OFF() { activity.onResume(); verify(userLocator.getParticleFilter(), times(1)).setShowParticles(eq(false)); verify(userLocator.getParticleFilter(), never()).setShowParticles(eq(true)); }
@Override protected void onResume() { super.onResume(); applySettings(); }
MapActivity extends AbstractMapActivity implements DownloadListener<Map<String, Collection>> { @Override protected void onResume() { super.onResume(); applySettings(); } }
MapActivity extends AbstractMapActivity implements DownloadListener<Map<String, Collection>> { @Override protected void onResume() { super.onResume(); applySettings(); }  }
MapActivity extends AbstractMapActivity implements DownloadListener<Map<String, Collection>> { @Override protected void onResume() { super.onResume(); applySettings(); }  @Override void onCreate(final Bundle savedInstanceState); @Override boolean onCreateOptionsMenu(final Menu menu); @Override void onDownloadFinished(final DownloadTask task, final boolean success, final Map<String, Collection> data); @Override // NOSONAR - Method cannot be shortened!!! boolean onOptionsItemSelected(final MenuItem item); void toggleFingerprintMode(final View view); }
MapActivity extends AbstractMapActivity implements DownloadListener<Map<String, Collection>> { @Override protected void onResume() { super.onResume(); applySettings(); }  @Override void onCreate(final Bundle savedInstanceState); @Override boolean onCreateOptionsMenu(final Menu menu); @Override void onDownloadFinished(final DownloadTask task, final boolean success, final Map<String, Collection> data); @Override // NOSONAR - Method cannot be shortened!!! boolean onOptionsItemSelected(final MenuItem item); void toggleFingerprintMode(final View view);  }