Class LowestFareStrategyTest

java.lang.Object
de.hybris.platform.travelfacades.strategies.impl.LowestFareStrategyTest

@UnitTest public class LowestFareStrategyTest extends Object
Test for the Strategy ProductsSortStrategy, for implementation class LowestFareStrategy
  • 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.