@Test
public void testOptOut_init() {

    mTrackerPreferences.edit().putBoolean(Tracker.PREF_KEY_TRACKER_OPTOUT, false).apply();
    Tracker tracker = new Tracker(mMatomo, mTrackerBuilder);
    assertFalse(tracker.isOptOut());
    mTrackerPreferences.edit().putBoolean(Tracker.PREF_KEY_TRACKER_OPTOUT, true).apply();
    tracker = new Tracker(mMatomo, mTrackerBuilder);
    assertTrue(tracker.isOptOut());
}