Class RecommendationServiceFallbackTest
- java.lang.Object
-
- com.hybris.ymkt.recommendation.services.RecommendationServiceFallbackTest
-
@UnitTest public class RecommendationServiceFallbackTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RecommendationServiceFallbackTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestGetFallbackSolutionResults_NullCase()Tests the null case, when nothing is found in the buffervoidtestWithLeadingItemsNotFoundWillReturnEmptyString()input : leading items not in buffer, but "" is.voidtestWithOnlyOneLeadingItemInListIsPresentInBuffer()Input : leading items not in buffer except 1 individual product output : individual productvoidtestWithSequenceOfLeadingItemsPresentInBuffer()
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.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
-
-