Class ContentSlotModelToDataRenderingPopulatorTest


  • @UnitTest
    public class ContentSlotModelToDataRenderingPopulatorTest
    extends java.lang.Object
    • Field Detail

      • captor

        @Captor
        protected org.mockito.ArgumentCaptor<java.util.Map<java.lang.String,​java.lang.Object>> captor
    • Constructor Detail

      • ContentSlotModelToDataRenderingPopulatorTest

        public ContentSlotModelToDataRenderingPopulatorTest()
    • 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()