java.lang.Object
de.hybris.platform.commercefacades.product.converters.populator.StockPopulatorTest

@UnitTest public class StockPopulatorTest extends Object
  • 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.