Пример #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()
                          ));
 }
 public void TestWheelDescription()
 {
     testValue = extractor.GetDescription();
     Check(wheelToTest.CrossSection);
 }
Пример #3
0
        public void TestCompleteDescription()
        {
            var testValue = extractor.GetDescription();

            Assert.AreEqual(testArticle.Description + " " + testArticle.Description2, testValue);
        }