Class PageCloningStrategyTest
java.lang.Object
de.hybris.platform.cms2.cloning.strategy.impl.PageCloningStrategyTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractCMSComponentModelGenerates a CMS component model mock.protected ContentSlotModelGenerates a content slot model mock.voidsetUp()voidvoidvoidvoidvoidvoid
-
Constructor Details
-
PageCloningStrategyTest
public PageCloningStrategyTest()
-
-
Method Details
-
setUp
public void setUp() -
shouldFailCloneWhenTemplateIsEmpty
- Throws:
CMSItemNotFoundException
-
shouldClone
- Throws:
CMSItemNotFoundException
-
shouldClonePageAndRemoveIdenticalPrimaryPage
public void shouldClonePageAndRemoveIdenticalPrimaryPage() -
shouldClonePreviewImage
public void shouldClonePreviewImage() -
shouldNotCloneUndefinedPreviewImage
public void shouldNotCloneUndefinedPreviewImage() -
shouldCloneContentSlotAndCloneComponents
public void shouldCloneContentSlotAndCloneComponents() -
generateMockContentSlotModel
Generates a content slot model mock.- Returns:
- the mocked content slot model
-
generateMockCmsComponentModel
Generates a CMS component model mock.- Returns:
- the mocked CMS component model
-