public void TestWheelHasDotFeature() { wheelToTest.DotNumber = 2010; extractor = new PrestoshopWheelPropertyExtractor(wheelToTest, 2, ""); testValue = extractor.GetArticleFeatures(); Assert.IsTrue(testValue.Contains("DOT:2010:8:")); }
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 TestFeaturesContainsWheelSize() { testValue = extractor.GetArticleFeatures(); CheckContains("Reifenbreite:185:1:"); }
public void TestWheelHasDotFeature() { wheelToTest.DotNumber = 2010; extractor = new PrestoshopWheelPropertyExtractor(wheelToTest, 2, ""); testValue = extractor.GetArticleFeatures(); Assert.IsTrue(testValue.Contains("DOT:2010:8:")); }
public void TestArticleFeatures() { var testValue = extractor.GetArticleFeatures(); Assert.AreEqual("", testValue); }