Class DefaultPageContentSlotComponentFacadeTest
java.lang.Object
de.hybris.platform.cmsfacades.pagescontentslotscomponents.impl.DefaultPageContentSlotComponentFacadeTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PageContentSlotComponentDatavoidvoidvoidvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
DefaultPageContentSlotComponentFacadeTest
public DefaultPageContentSlotComponentFacadeTest()
-
-
Method Details
-
setUp
public void setUp() -
shouldAddComponentToContentSlot
- Throws:
CMSItemNotFoundException
-
shouldFailAddComponentToContentSlot_PermissionException
public void shouldFailAddComponentToContentSlot_PermissionException() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
shouldFailAddComponentToContentSlot_ValidationException
public void shouldFailAddComponentToContentSlot_ValidationException() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
shouldFailAddComponentToContentSlot_SlotNotFound
- Throws:
CMSItemNotFoundException
-
shouldFailAddComponentToContentSlot_AmbiguousSlot
- Throws:
CMSItemNotFoundException
-
shouldRemoveComponent
- Throws:
CMSItemNotFoundException
-
shouldFailRemoveComponent_AbstractCMSComponentModelReadPermissionException
public void shouldFailRemoveComponent_AbstractCMSComponentModelReadPermissionException() throws CMSItemNotFoundException, ComponentNotFoundInSlotException -
shouldFailRemoveComponent_ContentSlotModelReadPermissionException
public void shouldFailRemoveComponent_ContentSlotModelReadPermissionException() throws CMSItemNotFoundException, ComponentNotFoundInSlotException -
shouldFailRemoveComponent_ContentSlotModelChangePermissionException
public void shouldFailRemoveComponent_ContentSlotModelChangePermissionException() throws CMSItemNotFoundException, ComponentNotFoundInSlotException -
shouldFailRemoveComponent_NotFoundComponent
public void shouldFailRemoveComponent_NotFoundComponent() throws CMSItemNotFoundException, ComponentNotFoundInSlotException -
shouldFailRemoveComponentFromContentSlot_AmbiguousSlot
public void shouldFailRemoveComponentFromContentSlot_AmbiguousSlot() throws CMSItemNotFoundException, ComponentNotFoundInSlotException -
shouldFailRemoveComponent_ComponentNotInSlot
public void shouldFailRemoveComponent_ComponentNotInSlot() throws CMSItemNotFoundException, ComponentNotFoundInSlotException -
shouldMoveAComponentFromOneSlotToAnotherOne
- Throws:
Exception
-
shouldMoveAComponentWithinASlot
- Throws:
Exception
-
shouldThrowValidationExceptionWhenMovingAPageContentSlotComponentWithDataIssues
public void shouldThrowValidationExceptionWhenMovingAPageContentSlotComponentWithDataIssues() throws Exception- Throws:
Exception
-
shouldThrowValidationExceptionWhenMovingAComponentIntoASlotThatAlreadyHasAnInstance
public void shouldThrowValidationExceptionWhenMovingAComponentIntoASlotThatAlreadyHasAnInstance() throws Exception- Throws:
Exception
-
itShouldThrowCMSItemNotFoundExceptionWhenPassedInvalidComponentUid
- Throws:
Exception
-
getPageContentSlotComponentsByPageIdShouldReturnListOfPageContentSlotComponentsForValidPageUid
public void getPageContentSlotComponentsByPageIdShouldReturnListOfPageContentSlotComponentsForValidPageUid() throws Exception- Throws:
Exception
-
getPageContentSlotComponentsByPageIdShouldThrowExceptionForInvalidPageUid
public void getPageContentSlotComponentsByPageIdShouldThrowExceptionForInvalidPageUid() throws Exception- Throws:
Exception
-
buildPageContentSlotComponent
-