Class CampaignRuleValidateInterceptorUnitTest
java.lang.Object
de.hybris.platform.ruleengineservices.rule.interceptors.CampaignRuleValidateInterceptorUnitTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidVerify if the removal of unpublished rule is allowedvoidif theCampaignModelis new, don't trigger interceptorvoidIf there was no associated source rules - allow for modificationvoidVerify if the removal of ever published rule is deniedvoidsetUp()
-
Constructor Details
-
CampaignRuleValidateInterceptorUnitTest
public CampaignRuleValidateInterceptorUnitTest()
-
-
Method Details
-
setUp
public void setUp() -
onPrepareNewCampaignDoNotTrigger
if theCampaignModelis new, don't trigger interceptor- Throws:
InterceptorException
-
onPrepareNoSourceRules
If there was no associated source rules - allow for modification- Throws:
InterceptorException
-
onPreparePublishedRuleWasRemoved
Verify if the removal of ever published rule is denied- Throws:
InterceptorException
-
onPrepareAllowForRemovalOfUnpublishedRule
Verify if the removal of unpublished rule is allowed- Throws:
InterceptorException
-