Class LeavesOrClosestAncestorsCatalogsLookupStrategyTest
java.lang.Object
de.hybris.platform.personalizationcms.strategy.LeavesOrClosestAncestorsCatalogsLookupStrategyTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertCatalogsVersions(int maxRecursions, List<CatalogVersionModel> cvsInSession, List<CatalogVersionModel> cvsWithPersonalization, List<CatalogVersionModel> assertionResults) voidvoidThis should not happen, but just making sure we dont get a stack overflow in this case.voidvoid
-
Constructor Details
-
LeavesOrClosestAncestorsCatalogsLookupStrategyTest
public LeavesOrClosestAncestorsCatalogsLookupStrategyTest()
-
-
Method Details
-
setupTest
public void setupTest() -
shouldReturnLeavesCatalogWhenRecursionIs0
public void shouldReturnLeavesCatalogWhenRecursionIs0() -
shouldReturnClosestParentsWhenRecursionIs10
public void shouldReturnClosestParentsWhenRecursionIs10() -
shouldHandleBrokenHierarchy
public void shouldHandleBrokenHierarchy()This should not happen, but just making sure we dont get a stack overflow in this case. -
assertCatalogsVersions
protected void assertCatalogsVersions(int maxRecursions, List<CatalogVersionModel> cvsInSession, List<CatalogVersionModel> cvsWithPersonalization, List<CatalogVersionModel> assertionResults)
-