Class ContentSlotModelToDataRenderingPopulatorTest

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

@UnitTest public class ContentSlotModelToDataRenderingPopulatorTest extends Object
  • Field Details

    • captor

      @Captor protected org.mockito.ArgumentCaptor<Map<String,Object>> 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

      protected void setComponentsInSlot(AbstractCMSComponentModel... components)
    • markComponentAsDisallowed

      protected void markComponentAsDisallowed(AbstractCMSComponentModel componentModel)