Class RuleConfigurableProductCustomerGroupsConditionTranslatorTest
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.rules.conditions.RuleConfigurableProductCustomerGroupsConditionTranslatorTest
-
@UnitTest public class RuleConfigurableProductCustomerGroupsConditionTranslatorTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringV_CARTstatic java.lang.StringV_USERstatic java.lang.StringV_USER_GROUP
-
Constructor Summary
Constructors Constructor Description RuleConfigurableProductCustomerGroupsConditionTranslatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestPrepareCustomerInAllGroupConditions()voidtestPrepareCustomerInAnyGroupConditions()voidtestTranslateContainedInAll()voidtestTranslateContainedInAny()voidtestTranslateNotContainedInAny()voidtestTranslateWithEmptyCustomerGroups()voidtestTranslateWithoutCustomerGroupParam()protected voidverifyTranslateIn(java.util.List<RuleIrCondition> children)
-
-
-
Field Detail
-
V_USER
public static final java.lang.String V_USER
- See Also:
- Constant Field Values
-
V_CART
public static final java.lang.String V_CART
- See Also:
- Constant Field Values
-
V_USER_GROUP
public static final java.lang.String V_USER_GROUP
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
public void setUp()
-
testPrepareCustomerInAnyGroupConditions
public void testPrepareCustomerInAnyGroupConditions()
-
testPrepareCustomerInAllGroupConditions
public void testPrepareCustomerInAllGroupConditions()
-
testTranslateContainedInAny
public void testTranslateContainedInAny() throws RuleCompilerException- Throws:
RuleCompilerException
-
testTranslateContainedInAll
public void testTranslateContainedInAll() throws RuleCompilerException- Throws:
RuleCompilerException
-
testTranslateNotContainedInAny
public void testTranslateNotContainedInAny() throws RuleCompilerException- Throws:
RuleCompilerException
-
verifyTranslateIn
protected void verifyTranslateIn(java.util.List<RuleIrCondition> children) throws RuleCompilerException
- Throws:
RuleCompilerException
-
testTranslateWithoutCustomerGroupParam
public void testTranslateWithoutCustomerGroupParam()
-
testTranslateWithEmptyCustomerGroups
public void testTranslateWithEmptyCustomerGroups()
-
-