@UnitTest public class DefaultCMSRestrictionServiceTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultCMSRestrictionServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
shouldReturnFalseWhenRestrictionIsMatchedButInverted() |
void |
shouldReturnFalseWhenRestrictionIsNotMatched() |
void |
shouldReturnTrueWhenRestrictionIsMatched() |
void |
shouldReturnTrueWhenRestrictionIsNotMatchedButInverted() |
void |
shouldThrowExceptionWhenNoEvaluatorFound() |
void |
testEvaluateMultiCountryFindIntermediateLevelPage() |
void |
testEvaluateMultiCountryFindIntermediateSameLevelPage() |
void |
testEvaluateMultiCountryFindLeafLevelPage() |
void |
testEvaluateMultiCountryPrimaryPagesNotDefinedInContentCatalog() |
void |
testEvaluateMultiCountryVariationPages() |
public void setUp()
public void testEvaluateMultiCountryPrimaryPagesNotDefinedInContentCatalog()
public void testEvaluateMultiCountryVariationPages()
public void testEvaluateMultiCountryFindLeafLevelPage()
public void testEvaluateMultiCountryFindIntermediateLevelPage()
public void testEvaluateMultiCountryFindIntermediateSameLevelPage()
public void shouldThrowExceptionWhenNoEvaluatorFound()
throws RestrictionEvaluationException
RestrictionEvaluationExceptionpublic void shouldReturnTrueWhenRestrictionIsMatched()
throws RestrictionEvaluationException
RestrictionEvaluationExceptionpublic void shouldReturnFalseWhenRestrictionIsNotMatched()
throws RestrictionEvaluationException
RestrictionEvaluationExceptionpublic void shouldReturnFalseWhenRestrictionIsMatchedButInverted()
throws RestrictionEvaluationException
RestrictionEvaluationExceptionpublic void shouldReturnTrueWhenRestrictionIsNotMatchedButInverted()
throws RestrictionEvaluationException
RestrictionEvaluationExceptionCopyright © 2018 SAP SE. All Rights Reserved.