Class DefaultListResolutionStrategyTest
- java.lang.Object
-
- de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultListResolutionStrategyTest
-
@UnitTest public class DefaultListResolutionStrategyTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFIRST_ELEMENTstatic java.lang.StringRESOLVED_FIRST_ELEMENTstatic java.lang.StringRESOLVED_PREFIXstatic java.lang.StringRESOLVED_SECOND_ELEMENTstatic java.lang.StringSECOND_ELEMENT
-
Constructor Summary
Constructors Constructor Description DefaultListResolutionStrategyTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldCustomizeJoiningSeparatorForResolvedElements()voidshouldIterateOverItemsAndCollectResolutionOfEach()voidshouldValidateLocaleParameter()voidshouldValidatePromotionResultParameter()voidshouldValidateRuleParameter()
-
-
-
Field Detail
-
RESOLVED_PREFIX
public static final java.lang.String RESOLVED_PREFIX
- See Also:
- Constant Field Values
-
FIRST_ELEMENT
public static final java.lang.String FIRST_ELEMENT
- See Also:
- Constant Field Values
-
RESOLVED_FIRST_ELEMENT
public static final java.lang.String RESOLVED_FIRST_ELEMENT
- See Also:
- Constant Field Values
-
SECOND_ELEMENT
public static final java.lang.String SECOND_ELEMENT
- See Also:
- Constant Field Values
-
RESOLVED_SECOND_ELEMENT
public static final java.lang.String RESOLVED_SECOND_ELEMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldIterateOverItemsAndCollectResolutionOfEach
public void shouldIterateOverItemsAndCollectResolutionOfEach() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldCustomizeJoiningSeparatorForResolvedElements
public void shouldCustomizeJoiningSeparatorForResolvedElements() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldValidateRuleParameter
public void shouldValidateRuleParameter() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldValidatePromotionResultParameter
public void shouldValidatePromotionResultParameter() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldValidateLocaleParameter
public void shouldValidateLocaleParameter() throws java.lang.Exception- Throws:
java.lang.Exception
-
-