Class ContentSlotModelToDataRenderingPopulatorTest
- java.lang.Object
-
- de.hybris.platform.cmsfacades.rendering.populators.ContentSlotModelToDataRenderingPopulatorTest
-
@UnitTest public class ContentSlotModelToDataRenderingPopulatorTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.mockito.ArgumentCaptor<java.util.Map<java.lang.String,java.lang.Object>>captor
-
Constructor Summary
Constructors Constructor Description ContentSlotModelToDataRenderingPopulatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgivenSlotHasNoComponents_WhenPopulatorIsCalled_ThenItSetsAnEmptyCollection()voidgivenSlotHasNonRestrictedComponents_WhenPopulatorIsCalled_ThenItSetsTheConvertedComponents()voidgivenSlotHasSomeRestrictedComponents_WhenPopulatorIsCalled_ThenItOnlySetsTheAllowedConvertedComponents()protected voidmarkComponentAsDisallowed(AbstractCMSComponentModel componentModel)protected voidsetComponentsInSlot(AbstractCMSComponentModel... components)protected voidsetSlotAsFromMaster()protected voidsetSlotAsOverride()voidsetUp()voidwhenPopulatorIsCalled_ThenItPopulatesAllTheRequiredProperties()voidwhenPopulatorIsCalledThenOtherPropertiesFieldIsPopulated()
-
-
-
Method Detail
-
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
protected void setComponentsInSlot(AbstractCMSComponentModel... components)
-
markComponentAsDisallowed
protected void markComponentAsDisallowed(AbstractCMSComponentModel componentModel)
-
-