@UnitTest public class LeavesOrClosestAncestorsCatalogsLookupStrategyTest extends java.lang.Object
| Constructor and Description |
|---|
LeavesOrClosestAncestorsCatalogsLookupStrategyTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertCatalogsVersions(int maxRecursions,
java.util.List<CatalogVersionModel> cvsInSession,
java.util.List<CatalogVersionModel> cvsWithPersonalization,
java.util.List<CatalogVersionModel> assertionResults) |
void |
setupTest() |
void |
shouldHandleBrokenHierarchy()
This should not happen, but just making sure we dont get a stack overflow in this case.
|
void |
shouldReturnClosestParentsWhenRecursionIs10() |
void |
shouldReturnLeavesCatalogWhenRecursionIs0() |
public LeavesOrClosestAncestorsCatalogsLookupStrategyTest()
public void setupTest()
public void shouldReturnLeavesCatalogWhenRecursionIs0()
public void shouldReturnClosestParentsWhenRecursionIs10()
public void shouldHandleBrokenHierarchy()
protected void assertCatalogsVersions(int maxRecursions,
java.util.List<CatalogVersionModel> cvsInSession,
java.util.List<CatalogVersionModel> cvsWithPersonalization,
java.util.List<CatalogVersionModel> assertionResults)
Copyright © 2018 SAP SE. All Rights Reserved.