Class LeavesOrClosestAncestorsCatalogsLookupStrategyTest

java.lang.Object
de.hybris.platform.personalizationcms.strategy.LeavesOrClosestAncestorsCatalogsLookupStrategyTest

@UnitTest public class LeavesOrClosestAncestorsCatalogsLookupStrategyTest extends Object
  • 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)