void addActivity(Activity activity) {
        if (activity != null) {
            hashSet.add(activity.hashCode());
        }
    }
@Test
    public void addActivity() {
        mActivityLifecycle.addActivity(mActivity);
    }