Class RecommendationServiceFallbackTest

java.lang.Object
com.hybris.ymkt.recommendation.services.RecommendationServiceFallbackTest

@UnitTest public class RecommendationServiceFallbackTest extends Object
  • Constructor Details

    • RecommendationServiceFallbackTest

      public RecommendationServiceFallbackTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • testWithLeadingItemsNotFoundWillReturnEmptyString

      public void testWithLeadingItemsNotFoundWillReturnEmptyString()
      input : leading items not in buffer, but "" is. output : ""
    • testWithOnlyOneLeadingItemInListIsPresentInBuffer

      public void testWithOnlyOneLeadingItemInListIsPresentInBuffer()
      Input : leading items not in buffer except 1 individual product output : individual product
    • testWithSequenceOfLeadingItemsPresentInBuffer

      public void testWithSequenceOfLeadingItemsPresentInBuffer()
    • testGetFallbackSolutionResults_NullCase

      public void testGetFallbackSolutionResults_NullCase()
      Tests the null case, when nothing is found in the buffer