@Test
public void testSettings_LowPassFilter_ON() {

    String prefLowPassFilterKey = resources.getString(R.string.key_pref_deadReckoning_lowPassToggle);
    sharedPreferences.edit().putBoolean(prefLowPassFilterKey, true).commit();
    activity.onResume();
    verify(userLocator, times(1)).setCompassFilterEnabled(eq(true));
    verify(userLocator, never()).setCompassFilterEnabled(eq(false));
}