Class PageCloningStrategyTest


  • @UnitTest
    public class PageCloningStrategyTest
    extends java.lang.Object
    • Constructor Detail

      • PageCloningStrategyTest

        public PageCloningStrategyTest()
    • Method Detail

      • setUp

        public void setUp()
      • shouldClonePageAndRemoveIdenticalPrimaryPage

        public void shouldClonePageAndRemoveIdenticalPrimaryPage()
      • shouldClonePreviewImage

        public void shouldClonePreviewImage()
      • shouldNotCloneUndefinedPreviewImage

        public void shouldNotCloneUndefinedPreviewImage()
      • shouldCloneContentSlotAndCloneComponents

        public void shouldCloneContentSlotAndCloneComponents()
      • generateMockContentSlotModel

        protected ContentSlotModel generateMockContentSlotModel()
        Generates a content slot model mock.
        Returns:
        the mocked content slot model
      • generateMockCmsComponentModel

        protected AbstractCMSComponentModel generateMockCmsComponentModel()
        Generates a CMS component model mock.
        Returns:
        the mocked CMS component model