public void Init()
        {
            this.payModel = new PaymentModel
            {
                Applicationid = RandomData.GetInteger(100, 1000),
                PayableAmount = RandomData.GetInteger(100, 1000),
                IsPaid = false
            };

            this.paymentLogic = new Mock<IVetumaPaymentLogic>();

            this.callBackVetumaPaymentModel = new VetumaPaymentModel();
            this.paymentLogic.Setup(o => o.MakePayment(It.IsAny<VetumaPaymentModel>())).Callback<VetumaPaymentModel>(o => { this.callBackVetumaPaymentModel = o; });

            // prepare
            var session = new HttpSessionMock();
            session["ReturnControllerAction"] = new ReturnControllerActionIdentifier
            {
                ControllerName = "TestableCtr",
                ActionName = null,
                EntityId = null,
                BookmarkTag = null
            };
            this.controllerContext = HttpMocks.GetControllerContextMock(HttpMocks.GetHttpContextMock(sessionMock: session)).Object;
            this.urlHelper = new Mock<UrlHelper>().Object;
        }
        public void Init()
        {
            this.logic = new Mock<IVetumaPaymentLogic>();
            this.logic.Setup(o => o.MakePayment(It.IsAny<VetumaPaymentModel>()))
                .Callback<VetumaPaymentModel>(o => this.model = o);

            this.helper = new VetumaPaymentHelper(this.logic.Object);
        }