public override void SetUp()
        {
            base.SetUp();

            AdjustFactory.Logger = MockLogger;

            var activityHandler = UtilTest.GetActivityHandler(MockLogger, DeviceUtil);

            MockLogger.Reset();

            ClickPackage = UtilTest.CreateClickPackage(activityHandler, "");

            MockHttpMessageHandler = new MockHttpMessageHandler(MockLogger);
            AdjustFactory.SetHttpMessageHandler(MockHttpMessageHandler);

            MockPackageHandler = new MockPackageHandler(MockLogger);
            RequestHandler     = new RequestHandler(MockPackageHandler);

            /*
             * var packageBuilder = new PackageBuilder()
             * {
             *  UserAgent = DeviceUtil.GetUserAgent(),
             *  ClientSdk = DeviceUtil.ClientSdk,
             * };
             * SessionPackage = packageBuilder.BuildSessionPackage();
             * */
        }
        private ActivityHandler GetActivityHandler()
        {
            ActivityHandler activityHandler = UtilTest.GetActivityHandler(MockLogger, DeviceUtil);

            MockLogger.Reset();

            return(activityHandler);
        }
        private ActivityPackage GetAttributionPackage()
        {
            MockAttributionHandler mockAttributionHandler = new MockAttributionHandler(MockLogger);
            MockPackageHandler     mockPackageHandler     = new MockPackageHandler(MockLogger);

            AdjustFactory.SetAttributionHandler(mockAttributionHandler);
            AdjustFactory.SetPackageHandler(mockPackageHandler);

            // start activity handler with config
            ActivityHandler activityHandler = UtilTest.GetActivityHandler(MockLogger, DeviceUtil);

            ActivityPackage attributionPackage = activityHandler.GetAttributionPackage();

            TestActivityPackage attributionPackageTest = new TestActivityPackage(attributionPackage);

            attributionPackageTest.TestAttributionPackage();

            MockLogger.Reset();

            return(attributionPackage);
        }