Class DefaultTravelCommerceAvailabilityCalculationStrategyTest
java.lang.Object
de.hybris.platform.travelservices.stock.strategies.impl.DefaultTravelCommerceAvailabilityCalculationStrategyTest
The type Default travel commerce availability calculation strategy test.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidTest method to calculate availability when stock level collection is having all stock level object as Force In Stock StatusvoidTest method to calculate availability when stock level collection is having more than one stock level objectvoidTest method to calculate availability when stock level collection is having one stock level object as Force Out Of Stock StatusvoidTest method to calculate availability when stock level collection is having one stock level object
-
Constructor Details
-
DefaultTravelCommerceAvailabilityCalculationStrategyTest
public DefaultTravelCommerceAvailabilityCalculationStrategyTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
testAllStockLevelsAreForceInStockStatus
public void testAllStockLevelsAreForceInStockStatus()Test method to calculate availability when stock level collection is having all stock level object as Force In Stock Status -
testWhenOneStockLevelHaveForceOutOfStockStatus
public void testWhenOneStockLevelHaveForceOutOfStockStatus()Test method to calculate availability when stock level collection is having one stock level object as Force Out Of Stock Status -
testWhenAllStockLevelsArePresent
public void testWhenAllStockLevelsArePresent()Test method to calculate availability when stock level collection is having more than one stock level object -
testWhenOneStockLevelsIsPresent
public void testWhenOneStockLevelsIsPresent()Test method to calculate availability when stock level collection is having one stock level object
-