Class RuleExecutableConditionTranslatorTest
- java.lang.Object
-
- de.hybris.platform.ruleengineservices.definitions.conditions.RuleExecutableConditionTranslatorTest
-
@UnitTest public class RuleExecutableConditionTranslatorTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONDITION_IDorg.junit.rules.ExpectedExceptionexpectedExceptionstatic java.lang.StringTEST_PARAM_IDstatic java.lang.StringTEST_PARAM_VALUE
-
Constructor Summary
Constructors Constructor Description RuleExecutableConditionTranslatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfailToTranslateNoConditionId()voidsetUp()voidtranslate()voidtranslateWithParameter()
-
-
-
Field Detail
-
CONDITION_ID
public static final java.lang.String CONDITION_ID
- See Also:
- Constant Field Values
-
TEST_PARAM_ID
public static final java.lang.String TEST_PARAM_ID
- See Also:
- Constant Field Values
-
TEST_PARAM_VALUE
public static final java.lang.String TEST_PARAM_VALUE
- See Also:
- Constant Field Values
-
expectedException
public org.junit.rules.ExpectedException expectedException
-
-
Method Detail
-
setUp
public void setUp()
-
translate
public void translate() throws java.lang.Exception- Throws:
java.lang.Exception
-
translateWithParameter
public void translateWithParameter() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToTranslateNoConditionId
public void failToTranslateNoConditionId() throws java.lang.Exception- Throws:
java.lang.Exception
-
-