Class DefaultCMSRestrictionServiceTest
java.lang.Object
de.hybris.platform.cms2.servicelayer.services.impl.DefaultCMSRestrictionServiceTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
DefaultCMSRestrictionServiceTest
public DefaultCMSRestrictionServiceTest()
-
-
Method Details
-
setUp
public void setUp() -
testEvaluateMultiCountryPrimaryPagesNotDefinedInContentCatalog
public void testEvaluateMultiCountryPrimaryPagesNotDefinedInContentCatalog() -
testEvaluateMultiCountryVariationPages
public void testEvaluateMultiCountryVariationPages() -
testEvaluateMultiCountryFindLeafLevelPage
public void testEvaluateMultiCountryFindLeafLevelPage() -
testEvaluateMultiCountryFindIntermediateLevelPage
public void testEvaluateMultiCountryFindIntermediateLevelPage() -
testEvaluateMultiCountryFindIntermediateSameLevelPage
public void testEvaluateMultiCountryFindIntermediateSameLevelPage() -
shouldThrowExceptionWhenNoEvaluatorFound
- Throws:
RestrictionEvaluationException
-
shouldReturnTrueWhenRestrictionIsMatched
- Throws:
RestrictionEvaluationException
-
shouldReturnFalseWhenRestrictionIsNotMatched
- Throws:
RestrictionEvaluationException
-
shouldReturnFalseWhenRestrictionIsMatchedButInverted
public void shouldReturnFalseWhenRestrictionIsMatchedButInverted() throws RestrictionEvaluationException- Throws:
RestrictionEvaluationException
-
shouldReturnTrueWhenRestrictionIsNotMatchedButInverted
public void shouldReturnTrueWhenRestrictionIsNotMatchedButInverted() throws RestrictionEvaluationException- Throws:
RestrictionEvaluationException
-
restrictionRelatedNoComponents
public void restrictionRelatedNoComponents()
-