Class DefaultPageContentSlotComponentFacadeTest


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

      • DefaultPageContentSlotComponentFacadeTest

        public DefaultPageContentSlotComponentFacadeTest()
    • Method Detail

      • setUp

        public void setUp()
      • shouldMoveAComponentFromOneSlotToAnotherOne

        public void shouldMoveAComponentFromOneSlotToAnotherOne()
                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldMoveAComponentWithinASlot

        public void shouldMoveAComponentWithinASlot()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowValidationExceptionWhenMovingAPageContentSlotComponentWithDataIssues

        public void shouldThrowValidationExceptionWhenMovingAPageContentSlotComponentWithDataIssues()
                                                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowValidationExceptionWhenMovingAComponentIntoASlotThatAlreadyHasAnInstance

        public void shouldThrowValidationExceptionWhenMovingAComponentIntoASlotThatAlreadyHasAnInstance()
                                                                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • itShouldThrowCMSItemNotFoundExceptionWhenPassedInvalidComponentUid

        public void itShouldThrowCMSItemNotFoundExceptionWhenPassedInvalidComponentUid()
                                                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getPageContentSlotComponentsByPageIdShouldReturnListOfPageContentSlotComponentsForValidPageUid

        public void getPageContentSlotComponentsByPageIdShouldReturnListOfPageContentSlotComponentsForValidPageUid()
                                                                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getPageContentSlotComponentsByPageIdShouldThrowExceptionForInvalidPageUid

        public void getPageContentSlotComponentsByPageIdShouldThrowExceptionForInvalidPageUid()
                                                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception