Ejemplo n.º 1
0
 public string GetCSVLine()
 {
     return(String.Format(CSVConstants.PrestoFormatLine,
                          propertyExtractor.GetArticleId(),
                          propertyExtractor.GetArticleName(),
                          propertyExtractor.GetCategory(),
                          propertyExtractor.GetMargedPrice(),
                          propertyExtractor.GetArticleOriginalPrice(),
                          propertyExtractor.GetManufactorer(),
                          propertyExtractor.GetAvailability(),
                          propertyExtractor.GetShortDescription(),
                          propertyExtractor.GetDescription(),
                          propertyExtractor.GetArticleTags(),
                          propertyExtractor.GetImageUrls(),
                          propertyExtractor.GetArticleFeatures()
                          ));
 }
Ejemplo n.º 2
0
        public void TestMargePrice()
        {
            var testValue = extractor.GetMargedPrice();

            Assert.AreEqual("100,00", testValue);
        }