Class DefaultCMSItemAttributeFilterEnablerServiceTest
java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.impl.DefaultCMSItemAttributeFilterEnablerServiceTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendToConfigs(String typeCode, String mode, String attributeNames, List<CMSItemTypeAttributeFilterConfigModel> payload) voidsetUp()voidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
DefaultCMSItemAttributeFilterEnablerServiceTest
public DefaultCMSItemAttributeFilterEnablerServiceTest()
-
-
Method Details
-
setUp
- 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)
-