public void TestInitialize() { mUserDTO = new UserDTO(); //New User Persist mUserId = IT_UserRepository.PersistNewUser(); mW2Repository = new W2Repository(); mPersonalInfoRepository = new PersonalInfoRepository(); mEarnedIncomeCreditRepository = new EarnedIncomeCreditRepository(); mTaxReturnData = new TaxReturnData(); }
public void TestInitialize() { mTaxesAndWrapUpRepository = new TaxesAndWrapUpRepository(); mPersonalInfoRepository = new PersonalInfoRepository(); mW2Repository = new W2Repository(); mInterestIncomeRepository = new InterestIncomeRepository(); mUnemploymentRepository = new UnemploymentRepository(); mUserData = new ExpandoObject(); mUserId = IT_UserRepository.PersistNewUser(); mTaxReturnData = new TaxReturnData(); }
public void TestInitialize() { mPersonalInfoRepository = new PersonalInfoRepository(); mInterestIncomeRepository = new InterestIncomeRepository(); mTaxReturnRepository = new TaxReturnRepository(); //Get State. Use it all over the Test methods. mStateId = mPersonalInfoRepository.GetAllState().First().StateId; mUserId = IT_UserRepository.PersistNewUser(); mUserData = new ExpandoObject(); mUserData.userId = mUserId; mTaxReturnData = new TaxReturnData(); }
public void TestInitialize() { mTaxReturnRepository = new TaxReturnRepository(); mPersonalInfoRepository = new PersonalInfoRepository(); mUnemploymentRepository = new UnemploymentRepository(); //Get State. Use it all over the Test methods. mStateId = mPersonalInfoRepository.GetAllState().First().StateId; //Get UserId. Use it all over the Test methods. mUserId = IT_UserRepository.PersistNewUser(); mUserInputData = new ExpandoObject(); mUserInputData.userId = mUserId; mTaxReturnData = new TaxReturnData(); mErrorMessages = new StringCollection(); }
public void TestInitialize() { mEfileRepository = new EFileRepository(); userId = IT_UserRepository.PersistNewUser(); }
//PaymentDTO public static PaymentDTO PersistPaymentDTO() { return(new PaymentDTO() { UserId = IT_UserRepository.PersistNewUser(), UserDataId = 0L, ProductType = ProductType.None, ShoppingCartId = 0, StateIDs = null, Order = new Order() { OrderId = 0, Processed = false, ShoppingCartId = 0, ShoppingCart = new List <ShoppingCart>() { PersistShoppingCart() }, TotalAmount = 0, PaymentDate = DateTime.MinValue, BillingDetails = new BillingDetails() { FirstName = null, LastName = null, PaymentDate = DateTime.MinValue, BillingAddress = new BillingAddress() { StreetAddress = null, ApartmentNumber = null, City = null, State = new State() { }, ZipCode = null, PhoneNumber = null, StateOrProvince = null, Country = new Country() { CountryId = 0, CountryCode = null, CountryName = null }, IsForeignAddress = false }, CreditCard = new CreditCard() { CreditCardNo = null, CreditCardType = new CreditCardType() { CardType = CardType.None, CreditCardTypeName = null }, SecurityCodeNo = null, ExpiryMonth = null, ExpiryYear = null }, Email = null }, Authorization = null }, IRS = CreateIRS() }); }
public void TestInitialize() { mTaxReturnRepository = new TaxReturnRepository(); mPersonalInfoRepository = new PersonalInfoRepository(); userId = IT_UserRepository.PersistNewUser(); }