Class DefaultRelatedPageRejectionServiceIntegrationTest

    • Constructor Detail

      • DefaultRelatedPageRejectionServiceIntegrationTest

        public DefaultRelatedPageRejectionServiceIntegrationTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • givenComponentInTwoApprovedPagesThatAreNotInWorkflowWhenComponentIsChangedThenBothPagesAreRejected

        public void givenComponentInTwoApprovedPagesThatAreNotInWorkflowWhenComponentIsChangedThenBothPagesAreRejected()
      • givenComponentInTwoApprovedPagesAndSecondPageIsInWorkflowWhenComponentIsChangedThenFirstPageIsRejected

        public void givenComponentInTwoApprovedPagesAndSecondPageIsInWorkflowWhenComponentIsChangedThenFirstPageIsRejected()
      • givenComponentInTwoApprovedPagesWhenComponentIsMovedOnOnePageThenAnotherPageIsStillApproved

        public void givenComponentInTwoApprovedPagesWhenComponentIsMovedOnOnePageThenAnotherPageIsStillApproved()
      • givenComponentInTwoApprovedPagesWhenComponentIsRemovedFromOnePageThenAnotherPageIsStillApproved

        public void givenComponentInTwoApprovedPagesWhenComponentIsRemovedFromOnePageThenAnotherPageIsStillApproved()
      • givenComponentInFirstApprovedPageAndSecondPageIsAlsoApprovedWhenComponentIsAddedToSecondPageThenFirstPageIsStillApproved

        public void givenComponentInFirstApprovedPageAndSecondPageIsAlsoApprovedWhenComponentIsAddedToSecondPageThenFirstPageIsStillApproved()
      • givenComponentOnApprovedPageWhenComponentIsChangedThenPageIsRejected

        public void givenComponentOnApprovedPageWhenComponentIsChangedThenPageIsRejected()
      • givenApprovedPageWhenUpdatePageMetaDataThenPageIsStillApproved

        public void givenApprovedPageWhenUpdatePageMetaDataThenPageIsStillApproved()
      • givenTwoApprovedPagesWhenSharedSlotOnFirstPageIsUnsharedThenFirstPageIsUnApprovedAndSecondPageIsStillApproved

        public void givenTwoApprovedPagesWhenSharedSlotOnFirstPageIsUnsharedThenFirstPageIsUnApprovedAndSecondPageIsStillApproved()
                                                                                                                           throws CMSItemNotFoundException
        Throws:
        CMSItemNotFoundException
      • givenTwoApprovedPagesWithSameRestrictionWhenRestrictionMetadataIsChangedThenAllPagesThatAreNotInWorkflowAreRejected

        public void givenTwoApprovedPagesWithSameRestrictionWhenRestrictionMetadataIsChangedThenAllPagesThatAreNotInWorkflowAreRejected()
      • givenParentComponentWithChildNestedComponentWhenChildComponentIsChangedThenPageIsStillApproved

        public void givenParentComponentWithChildNestedComponentWhenChildComponentIsChangedThenPageIsStillApproved()
      • removeComponent

        protected void removeComponent​(ContentSlotModel fromSlot)
      • addComponentToSlot

        protected void addComponentToSlot​(ContentSlotModel slot,
                                          int index)
      • changeComponent

        protected void changeComponent()
      • changeNestedComponent

        protected void changeNestedComponent()
      • addNestedComponent

        protected void addNestedComponent()
      • changeRestrictionMetadata

        protected void changeRestrictionMetadata()
      • addRestrictionToPage

        protected void addRestrictionToPage​(AbstractPageModel page)