Class DefaultCMSItemAttributeFilterEnablerServiceTest

java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.impl.DefaultCMSItemAttributeFilterEnablerServiceTest

@UnitTest public class DefaultCMSItemAttributeFilterEnablerServiceTest extends Object
  • Constructor Details

    • DefaultCMSItemAttributeFilterEnablerServiceTest

      public DefaultCMSItemAttributeFilterEnablerServiceTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • shouldReturnEmptyListIfConfigNotProvided

      public void shouldReturnEmptyListIfConfigNotProvided()
    • shouldReturnListOfBasicAttributes

      public void shouldReturnListOfBasicAttributes()
    • shouldReturnConfigForSimpleCMSComponentModeltWhichIsInheritedFromAbstractCMSComponent

      public void shouldReturnConfigForSimpleCMSComponentModeltWhichIsInheritedFromAbstractCMSComponent()
    • shouldContainFieldsForSELECTModeWhichWereInheritedFromCMSItem

      public void shouldContainFieldsForSELECTModeWhichWereInheritedFromCMSItem()
    • shouldReturnListOfDefaultAttributesWhenOneAttributeReferencesAnotherMode

      public void shouldReturnListOfDefaultAttributesWhenOneAttributeReferencesAnotherMode()
    • shouldReturnListOfFullAttributesWhenOnlyOneAttributeAndItReferencesAnotherMode

      public void shouldReturnListOfFullAttributesWhenOnlyOneAttributeAndItReferencesAnotherMode()
    • shouldReturnListOAttributesWhenOneAttributeReferencesAnotherTypeMode

      public void shouldReturnListOAttributesWhenOneAttributeReferencesAnotherTypeMode()
    • shouldReturnListOAttributesForCustomMode

      public void shouldReturnListOAttributesForCustomMode()
    • appendToConfigs

      protected void appendToConfigs(String typeCode, String mode, String attributeNames, List<CMSItemTypeAttributeFilterConfigModel> payload)