Class DefaultCMSRestrictionServiceTest
- java.lang.Object
-
- de.hybris.platform.cms2.servicelayer.services.impl.DefaultCMSRestrictionServiceTest
-
@UnitTest public class DefaultCMSRestrictionServiceTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultCMSRestrictionServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldReturnFalseWhenRestrictionIsMatchedButInverted()voidshouldReturnFalseWhenRestrictionIsNotMatched()voidshouldReturnTrueWhenRestrictionIsMatched()voidshouldReturnTrueWhenRestrictionIsNotMatchedButInverted()voidshouldThrowExceptionWhenNoEvaluatorFound()voidtestEvaluateMultiCountryFindIntermediateLevelPage()voidtestEvaluateMultiCountryFindIntermediateSameLevelPage()voidtestEvaluateMultiCountryFindLeafLevelPage()voidtestEvaluateMultiCountryPrimaryPagesNotDefinedInContentCatalog()voidtestEvaluateMultiCountryVariationPages()
-
-
-
Method Detail
-
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
public void shouldThrowExceptionWhenNoEvaluatorFound() throws RestrictionEvaluationException- Throws:
RestrictionEvaluationException
-
shouldReturnTrueWhenRestrictionIsMatched
public void shouldReturnTrueWhenRestrictionIsMatched() throws RestrictionEvaluationException- Throws:
RestrictionEvaluationException
-
shouldReturnFalseWhenRestrictionIsNotMatched
public void shouldReturnFalseWhenRestrictionIsNotMatched() throws RestrictionEvaluationException- Throws:
RestrictionEvaluationException
-
shouldReturnFalseWhenRestrictionIsMatchedButInverted
public void shouldReturnFalseWhenRestrictionIsMatchedButInverted() throws RestrictionEvaluationException- Throws:
RestrictionEvaluationException
-
shouldReturnTrueWhenRestrictionIsNotMatchedButInverted
public void shouldReturnTrueWhenRestrictionIsNotMatchedButInverted() throws RestrictionEvaluationException- Throws:
RestrictionEvaluationException
-
-