@Test
public void testSettings_StatisticFilter_OFF() {

    // If preferences key does not exist SharedPreferences will return a default value for this key, which is false
    // in our case, so we don't need to set it here.
    activity.onResume();
    verify(userLocator, times(1)).setStatisticFilterMode(eq(UserLocator.STATISTIC_FILTER_MODE_NO_FILTER));
    verify(userLocator, never()).setStatisticFilterMode(eq(UserLocator.STATISTIC_FILTER_MODE_AVERAGE));
    verify(userLocator, never()).setStatisticFilterMode(eq(UserLocator.STATISTIC_FILTER_MODE_MEDIAN));
}