Example #1
0
        public void SetUp()
        {
            var subject   = new UserSessionService(null, null, null);
            var userToken = subject.NewUser();

            subject.SelectDeal("SOME_INVALID_USER_TOKEN",
                               new VoucherDetailsModel {
                Voucher = new VoucherModel {
                    Code = "SOME_VOUCHER_CODE"
                }
            });
            _result = subject.GetVoucherForUser(userToken);
        }