public void TestAllYearWheelCategory() { wheelToTest.IsMudSnow = true; wheelToTest.IsWinter = false; extractor = new PrestoshopWheelPropertyExtractor(wheelToTest, 2, ""); testValue = extractor.GetCategory(); Check(CSVConstants.AllYearWheelCategoryName); }
public void TestSummerCategory() { wheelToTest.IsMudSnow = false; wheelToTest.IsWinter = false; extractor = new PrestoshopWheelPropertyExtractor(wheelToTest, 2, ""); testValue = extractor.GetCategory(); Check(CSVConstants.SummerWheelCategoryName); }
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 TestWinterCategory() { testValue = extractor.GetCategory(); Check(CSVConstants.WinterWheelCategoryName); }
public void TestCategory() { var testValue = extractor.GetCategory(); Assert.AreEqual(CSVConstants.DefaultCategoryName, testValue); }