Class PageRenderingPopulatorTest


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

      • PageRenderingPopulatorTest

        public PageRenderingPopulatorTest()
    • Method Detail

      • setUp

        public void setUp()
      • whenPopulatorIsCalled_ThenItPopulatesAllTheRequiredProperties

        public void whenPopulatorIsCalled_ThenItPopulatesAllTheRequiredProperties()
      • givenDefaultPage_WhenPopulatorIsCalled_ThenItPopulatesThePageAsDefault

        public void givenDefaultPage_WhenPopulatorIsCalled_ThenItPopulatesThePageAsDefault()
      • givenInactiveSlot_WhenPopulatorIsCalled_ThenItPopulatesTheSlotsWithoutTheInactiveOnes

        public void givenInactiveSlot_WhenPopulatorIsCalled_ThenItPopulatesTheSlotsWithoutTheInactiveOnes()
      • makePageDefault

        protected void makePageDefault()
      • setSlotAsInactive

        protected void setSlotAsInactive​(ContentSlotData slotData)
      • setContentSlotActivePeriod

        protected void setContentSlotActivePeriod​(ContentSlotData slotData,
                                                  java.util.Date activeFrom,
                                                  java.util.Date activeUntil)