Class RecommendationServiceFallbackTest
java.lang.Object
com.hybris.ymkt.recommendation.services.RecommendationServiceFallbackTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidTests the null case, when nothing is found in the buffervoidinput : leading items not in buffer, but "" is.voidInput : leading items not in buffer except 1 individual product output : individual productvoid
-
Constructor Details
-
RecommendationServiceFallbackTest
public RecommendationServiceFallbackTest()
-
-
Method Details
-
setUp
- 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
-