public void ShouldMapFakeDTOsTogether()
        {
            var productDTOs = new List<ProductDTO>();

            for (var i = 0; i < 10; i++)
            {
                var productDTO = new ProductDTO {ASIN = i.ToString()};

                productDTOs.Add(productDTO);
            }

            var reviewDTOs = new List<ReviewDTO>();
            for (int i = 5; i < 15; i++)
            {
                var reviewDTO = new ReviewDTO {ASIN = i.ToString()};

                reviewDTOs.Add(reviewDTO);
            }

            var amazonRequest = new AmazonRequest();

            reviewMapper = new ReviewListMapper(amazonRequest, reviewDTOs, productDTOs);

            var reviews = reviewMapper.GetReviewList();

            Assert.AreNotEqual(0, reviews.Count);
            Debug.WriteLine(reviews.Count);
        }
        private bool LoadReviewsAndWishListFromAmazon()
        {
            try
            {
                IAmazonRequest amazonRequest = new AmazonRequest();
                amazonRequest.AssociateTag = "adamkahtavaap-20";
                amazonRequest.AWSAccessKeyId = "1MRFMGASE6CQKS2WTMR2";
                amazonRequest.CustomerId = "A2JM0EQJELFL69";
                amazonRequest.ListId = "3JU6ASKNUS7B8";

                IFileParameters fileParameters = new FileParameters();

                string folderPath = Path.Combine(HttpContext.Current.Request.PhysicalApplicationPath, "Xml");
                fileParameters.ProductFileNameAndPath = folderPath + @"\Products.xml";
                fileParameters.ReviewFileNameAndPath = folderPath + @"\Reviews.xml";
                fileParameters.ErrorFileNameAndPath = folderPath + @"\Errors.xml";

                IAmazonApplication amazonApplication = new AmazonApplication(amazonRequest, fileParameters);

                return amazonApplication.Save();
            }
            catch (Exception ex)
            {
                return false;
            }
        }