Class LowestFareStrategyTest
java.lang.Object
de.hybris.platform.travelfacades.strategies.impl.LowestFareStrategyTest
Test for the Strategy
ProductsSortStrategy, for implementation class LowestFareStrategy-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetup()Initializes the strategy.voidTesting Products List with multiple products and price information.voidTesting Products List with multiple products and price information.voidTesting Products list with only one product.voidTesting Products with no price information, these will appear at the top of the list.
-
Constructor Details
-
LowestFareStrategyTest
public LowestFareStrategyTest()
-
-
Method Details
-
setup
public void setup()Initializes the strategy. -
testFindLowestPricedProductForEmptyList
public void testFindLowestPricedProductForEmptyList()Testing Products List with multiple products and price information. -
testFindLowestPricedProduct
public void testFindLowestPricedProduct()Testing Products List with multiple products and price information. -
testFindLowestPricedProductForOnlyOneProduct
public void testFindLowestPricedProductForOnlyOneProduct()Testing Products list with only one product. -
testProductListWithNoPrices
public void testProductListWithNoPrices()Testing Products with no price information, these will appear at the top of the list.
-