| Constructor and Description |
|---|
DefaultPageContentSlotComponentFacadeTest() |
public DefaultPageContentSlotComponentFacadeTest()
public void setUp()
public void shouldAddComponentToContentSlot()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldFailAddComponentToContentSlot_ValidationException()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldFailAddComponentToContentSlot_SlotNotFound()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldFailAddComponentToContentSlot_AmbiguousSlot()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldRemoveComponent()
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void shouldFailRemoveComponent_NotFoundComponent()
throws CMSItemNotFoundException,
ComponentNotFoundInSlotException
public void shouldFailRemoveComponentFromContentSlot_AmbiguousSlot()
throws CMSItemNotFoundException,
ComponentNotFoundInSlotException
public void shouldFailRemoveComponent_ComponentNotInSlot()
throws CMSItemNotFoundException,
ComponentNotFoundInSlotException
public void itShouldMoveAComponentFromOneSlotToAnotherOne()
throws Exception
Exceptionpublic void itShouldThrowValidationExceptionWhenMovingAPageContentSlotComponentWithDataIssues()
throws Exception
Exceptionpublic void itShouldThrowValidationExceptionWhenMovingAComponentIntoASlotThatAlreadyHasAnInstance()
throws Exception
Exceptionpublic void itShouldThrowCMSItemNotFoundExceptionWhenPassedInvalidComponentUid()
throws Exception
Exceptionpublic void getPageContentSlotComponentsByPageIdShouldReturnListOfPageContentSlotComponentsForValidPageUid()
throws Exception
Exceptionpublic void getPageContentSlotComponentsByPageIdShouldThrowExceptionForInvalidPageUid()
throws Exception
Exceptionprotected PageContentSlotComponentData buildPageContentSlotComponent()
Copyright © 2000-2016 SAP SE. All Rights Reserved.