Class ActionTriggeringLimitAgendaFilterTest
- java.lang.Object
-
- de.hybris.platform.droolsruleengineservices.agendafilter.impl.ActionTriggeringLimitAgendaFilterTest
-
@UnitTest public class ActionTriggeringLimitAgendaFilterTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ActionTriggeringLimitAgendaFilterTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RuleConfigurationRRD
createRuleConfigurationRRD(int currentRuns, int maxAllowedRuns)
void
shouldAcceptWhenMaxExecutionThresholdIsNotReached()
void
shouldRejectWhenMaxExecutionThresholdIsEqualCurrentRuns()
void
shouldRejectWhenMaxExecutionThresholdIsReached()
-
-
-
Method Detail
-
shouldAcceptWhenMaxExecutionThresholdIsNotReached
public void shouldAcceptWhenMaxExecutionThresholdIsNotReached() throws java.lang.Exception
- Throws:
java.lang.Exception
-
createRuleConfigurationRRD
protected RuleConfigurationRRD createRuleConfigurationRRD(int currentRuns, int maxAllowedRuns)
-
shouldRejectWhenMaxExecutionThresholdIsEqualCurrentRuns
public void shouldRejectWhenMaxExecutionThresholdIsEqualCurrentRuns() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldRejectWhenMaxExecutionThresholdIsReached
public void shouldRejectWhenMaxExecutionThresholdIsReached() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-