@Override
  protected void tearDown() throws Exception {
    super.tearDown();

    AdjustFactory.setPackageHandler(null);
    AdjustFactory.setLogger(null);
    AdjustFactory.setTimerInterval(-1);
    AdjustFactory.setSessionInterval(-1);
    AdjustFactory.setSubsessionInterval(-1);
  }
  @Override
  protected void setUp() throws Exception {
    super.setUp();
    mockLogger = new MockLogger();
    mockPackageHandler = new MockPackageHandler(mockLogger);

    AdjustFactory.setLogger(mockLogger);
    AdjustFactory.setPackageHandler(mockPackageHandler);

    activity = getActivity();
  }