Class RuleEngineRulePrepareInterceptorUnitTest
- java.lang.Object
-
- de.hybris.platform.ruleengine.dao.interceptors.RuleEngineRulePrepareInterceptorUnitTest
-
@UnitTest public class RuleEngineRulePrepareInterceptorUnitTest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRuleEngineRulePrepareInterceptorUnitTest.MockRuleModelChecksumCalculator
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedExceptionexpectedException
-
Constructor Summary
Constructors Constructor Description RuleEngineRulePrepareInterceptorUnitTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestOnPrepareModelRemoved()voidtestOnPrepareNewModelNotNullVersion()voidtestOnPrepareNewModelNullVersion()voidtestOnPrepareNewModuleIsEmpty()voidtestOnPrepareNewModuleVersionIsNull()voidtestOnPrepareUpdateModel()voidtestOnPrepareUpdateModelEqualContent()voidtestOnPrepareUpdateModelUpdateActiveFlagChanged()voidtestOnPrepareUpdateModelUpdateActiveFlagChangedWrongVersion()voidtestOnPrepareUpdateModelUpdateNotActive()
-
-
-
Method Detail
-
setUp
public void setUp()
-
testOnPrepareNewModelNullVersion
public void testOnPrepareNewModelNullVersion() throws InterceptorException- Throws:
InterceptorException
-
testOnPrepareNewModelNotNullVersion
public void testOnPrepareNewModelNotNullVersion() throws InterceptorException- Throws:
InterceptorException
-
testOnPrepareUpdateModel
public void testOnPrepareUpdateModel() throws InterceptorException- Throws:
InterceptorException
-
testOnPrepareUpdateModelEqualContent
public void testOnPrepareUpdateModelEqualContent() throws InterceptorException- Throws:
InterceptorException
-
testOnPrepareUpdateModelUpdateNotActive
public void testOnPrepareUpdateModelUpdateNotActive() throws InterceptorException- Throws:
InterceptorException
-
testOnPrepareUpdateModelUpdateActiveFlagChanged
public void testOnPrepareUpdateModelUpdateActiveFlagChanged() throws InterceptorException- Throws:
InterceptorException
-
testOnPrepareUpdateModelUpdateActiveFlagChangedWrongVersion
public void testOnPrepareUpdateModelUpdateActiveFlagChangedWrongVersion() throws InterceptorException- Throws:
InterceptorException
-
testOnPrepareModelRemoved
public void testOnPrepareModelRemoved() throws InterceptorException- Throws:
InterceptorException
-
testOnPrepareNewModuleVersionIsNull
public void testOnPrepareNewModuleVersionIsNull() throws InterceptorException- Throws:
InterceptorException
-
testOnPrepareNewModuleIsEmpty
public void testOnPrepareNewModuleIsEmpty() throws InterceptorException- Throws:
InterceptorException
-
-