@UnitTest public class ContentSlotModelToDataRenderingPopulatorTest extends java.lang.Object
| Constructor and Description |
|---|
ContentSlotModelToDataRenderingPopulatorTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
givenSlotHasNoComponents_WhenPopulatorIsCalled_ThenItSetsAnEmptyCollection() |
void |
givenSlotHasNonRestrictedComponents_WhenPopulatorIsCalled_ThenItSetsTheConvertedComponents() |
void |
givenSlotHasSomeRestrictedComponents_WhenPopulatorIsCalled_ThenItOnlySetsTheAllowedConvertedComponents() |
protected void |
markComponentAsDisallowed(AbstractCMSComponentModel componentModel) |
protected void |
setComponentsInSlot(AbstractCMSComponentModel... components) |
protected void |
setSlotAsFromMaster() |
protected void |
setSlotAsOverride() |
void |
setUp() |
void |
whenPopulatorIsCalled_ThenItPopulatesAllTheRequiredProperties() |
public ContentSlotModelToDataRenderingPopulatorTest()
public void setUp()
public void whenPopulatorIsCalled_ThenItPopulatesAllTheRequiredProperties()
public void givenSlotHasNoComponents_WhenPopulatorIsCalled_ThenItSetsAnEmptyCollection()
public void givenSlotHasNonRestrictedComponents_WhenPopulatorIsCalled_ThenItSetsTheConvertedComponents()
public void givenSlotHasSomeRestrictedComponents_WhenPopulatorIsCalled_ThenItOnlySetsTheAllowedConvertedComponents()
protected void setSlotAsOverride()
protected void setSlotAsFromMaster()
protected void setComponentsInSlot(AbstractCMSComponentModel... components)
protected void markComponentAsDisallowed(AbstractCMSComponentModel componentModel)
Copyright © 2018 SAP SE. All Rights Reserved.