Class ContentSlotModelToDataRenderingPopulatorTest
java.lang.Object
de.hybris.platform.cmsfacades.rendering.populators.ContentSlotModelToDataRenderingPopulatorTest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidprotected voidmarkComponentAsDisallowed(AbstractCMSComponentModel componentModel) protected voidsetComponentsInSlot(AbstractCMSComponentModel... components) protected voidprotected voidvoidsetUp()voidvoid
-
Field Details
-
captor
-
-
Constructor Details
-
ContentSlotModelToDataRenderingPopulatorTest
public ContentSlotModelToDataRenderingPopulatorTest()
-
-
Method Details
-
setUp
public void setUp() -
whenPopulatorIsCalled_ThenItPopulatesAllTheRequiredProperties
public void whenPopulatorIsCalled_ThenItPopulatesAllTheRequiredProperties() -
whenPopulatorIsCalledThenOtherPropertiesFieldIsPopulated
public void whenPopulatorIsCalledThenOtherPropertiesFieldIsPopulated() -
givenSlotHasNoComponents_WhenPopulatorIsCalled_ThenItSetsAnEmptyCollection
public void givenSlotHasNoComponents_WhenPopulatorIsCalled_ThenItSetsAnEmptyCollection() -
givenSlotHasNonRestrictedComponents_WhenPopulatorIsCalled_ThenItSetsTheConvertedComponents
public void givenSlotHasNonRestrictedComponents_WhenPopulatorIsCalled_ThenItSetsTheConvertedComponents() -
givenSlotHasSomeRestrictedComponents_WhenPopulatorIsCalled_ThenItOnlySetsTheAllowedConvertedComponents
public void givenSlotHasSomeRestrictedComponents_WhenPopulatorIsCalled_ThenItOnlySetsTheAllowedConvertedComponents() -
setSlotAsOverride
protected void setSlotAsOverride() -
setSlotAsFromMaster
protected void setSlotAsFromMaster() -
setComponentsInSlot
-
markComponentAsDisallowed
-