Class DefaultCMSRestrictionServiceTest

java.lang.Object
de.hybris.platform.cms2.servicelayer.services.impl.DefaultCMSRestrictionServiceTest

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

      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
    • restrictionRelatedSharedSlots

      public void restrictionRelatedSharedSlots()
    • restrictionRelatedNonSharedSlots

      public void restrictionRelatedNonSharedSlots()
    • restrictionRelatedNoComponents

      public void restrictionRelatedNoComponents()