Class StockPopulatorTest
java.lang.Object
de.hybris.platform.commercefacades.product.converters.populator.StockPopulatorTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAll categories have the Stock threshold value.voidwhen all categories have the same Stock Threshold Value.voidLast Cat Level Does not Have Values (size7 , fit_W , yellow , men )voidwhen no stock threshold values defined.voidNo Stock threshold value set for the categories and only the default Stock Threshold Value set at the site levelvoidOnly one category having a Stock threshold value.voidwhen there are only one category set for the product.voidwhen there are only one category set for the product.voidProduct belongs to only one categoryvoidsetUp()void
-
Constructor Details
-
StockPopulatorTest
public StockPopulatorTest()
-
-
Method Details
-
setUp
public void setUp() -
testThreshold1
public void testThreshold1() -
productBelongsToOnlyOneCat
public void productBelongsToOnlyOneCat()Product belongs to only one category -
onlyOneCategorySetForTheProductWithValue
public void onlyOneCategorySetForTheProductWithValue()when there are only one category set for the product. the stock threshold value is not null. -
onlyOneCategorySetForTheProductWithoutValue
public void onlyOneCategorySetForTheProductWithoutValue()when there are only one category set for the product. the stock threshold value is null. -
noStockThresholdValuesAtAll
public void noStockThresholdValuesAtAll()when no stock threshold values defined. -
lastCategoryLevelDoesnotHaveValue
public void lastCategoryLevelDoesnotHaveValue()Last Cat Level Does not Have Values (size7 , fit_W , yellow , men ) -
allCatHaveTheSameStockThresholdValue
public void allCatHaveTheSameStockThresholdValue()when all categories have the same Stock Threshold Value. -
onlyDefaultStockThresholdAtSiteLevelHavingValue
public void onlyDefaultStockThresholdAtSiteLevelHavingValue()No Stock threshold value set for the categories and only the default Stock Threshold Value set at the site level -
onlyOneCategoryHavingStockThresholdValue
public void onlyOneCategoryHavingStockThresholdValue()Only one category having a Stock threshold value. -
allCatHaveStockThresholdValue
public void allCatHaveStockThresholdValue()All categories have the Stock threshold value.
-