Class PageRenderingPopulatorTest
- java.lang.Object
-
- de.hybris.platform.cmsfacades.rendering.populators.PageRenderingPopulatorTest
-
@UnitTest public class PageRenderingPopulatorTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PageRenderingPopulatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgivenDefaultPage_WhenPopulatorIsCalled_ThenItPopulatesThePageAsDefault()voidgivenInactiveSlot_WhenPopulatorIsCalled_ThenItPopulatesTheSlotsWithoutTheInactiveOnes()protected voidmakePageDefault()protected voidsetContentSlotActivePeriod(ContentSlotData slotData, java.util.Date activeFrom, java.util.Date activeUntil)protected voidsetSlotAsInactive(ContentSlotData slotData)voidsetUp()voidwhenPopulatorIsCalled_ThenItPopulatesAllTheRequiredProperties()
-
-
-
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)
-
-