Class DefaultPageRestrictionFacadeTest
- java.lang.Object
-
- de.hybris.platform.cmsfacades.pagesrestrictions.impl.DefaultPageRestrictionFacadeTest
-
@UnitTest public class DefaultPageRestrictionFacadeTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultPageRestrictionFacadeTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldFailUpdateRestrictionRelationsByPage_NoRestrictionOnVariationPage()voidshouldGetAllPagesRestrictions()voidshouldGetRestrictionsByPage()voidshouldNotGetRestrictionsByPage_PageNotFound()voidshouldUpdateRestrictionRelationsByPage()
-
-
-
Method Detail
-
setUp
public void setUp() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
shouldGetRestrictionsByPage
public void shouldGetRestrictionsByPage() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
shouldNotGetRestrictionsByPage_PageNotFound
public void shouldNotGetRestrictionsByPage_PageNotFound() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
shouldGetAllPagesRestrictions
public void shouldGetAllPagesRestrictions()
-
shouldUpdateRestrictionRelationsByPage
public void shouldUpdateRestrictionRelationsByPage() throws AmbiguousIdentifierException, CMSItemNotFoundException
-
shouldFailUpdateRestrictionRelationsByPage_NoRestrictionOnVariationPage
public void shouldFailUpdateRestrictionRelationsByPage_NoRestrictionOnVariationPage() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
-