Class PageModelToDataRenderingPopulatorTest

java.lang.Object
de.hybris.platform.cmsfacades.rendering.populators.PageModelToDataRenderingPopulatorTest

@UnitTest public class PageModelToDataRenderingPopulatorTest extends Object
  • Field Details

    • captor

      @Captor protected org.mockito.ArgumentCaptor<Map<String,Object>> captor
  • Constructor Details

    • PageModelToDataRenderingPopulatorTest

      public PageModelToDataRenderingPopulatorTest()
  • Method Details

    • setUp

      public void setUp()
    • whenPopulatorIsCalled_ThenItPopulatesAllTheRequiredProperties

      public void whenPopulatorIsCalled_ThenItPopulatesAllTheRequiredProperties()
    • whenPopulatorIsCalledThenOtherPropertiesFieldIsPopulated

      public void whenPopulatorIsCalledThenOtherPropertiesFieldIsPopulated()
    • 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, Date activeFrom, Date activeUntil)