private void assertConditionalEventExecutionSet(CancellingConditionalEventExecutionSet executionSet, String conditionExpressionScript, String conditionExpressionLanguage, String conditionExpressionType, boolean isCancelling) { assertNotNull(executionSet); assertNotNull(executionSet.getConditionExpression()); assertNotNull(executionSet.getConditionExpression().getValue()); assertNotNull(executionSet.getConditionExpression().getType()); assertNotNull(executionSet.getCancelActivity()); assertEquals(conditionExpressionLanguage, executionSet.getConditionExpression().getValue().getLanguage()); assertEquals(conditionExpressionScript, executionSet.getConditionExpression().getValue().getScript()); assertEquals(conditionExpressionType, executionSet.getConditionExpression().getType().getName()); assertEquals(isCancelling, executionSet.getCancelActivity().getValue()); } }
private void assertConditionalEventExecutionSet(InterruptingConditionalEventExecutionSet executionSet, String conditionExpressionScript, String conditionExpressionLanguage, String conditionExpressionType, boolean isInterrupting) { assertNotNull(executionSet); assertNotNull(executionSet.getConditionExpression()); assertNotNull(executionSet.getConditionExpression().getValue()); assertNotNull(executionSet.getConditionExpression().getType()); assertNotNull(executionSet.getIsInterrupting()); assertEquals(conditionExpressionLanguage, executionSet.getConditionExpression().getValue().getLanguage()); assertEquals(conditionExpressionScript, executionSet.getConditionExpression().getValue().getScript()); assertEquals(conditionExpressionType, executionSet.getConditionExpression().getType().getName()); assertEquals(isInterrupting, executionSet.getIsInterrupting().getValue()); } }
private void assertConditionalEventExecutionSet(CancellingConditionalEventExecutionSet executionSet, String conditionExpressionScript, String conditionExpressionLanguage, String conditionExpressionType, boolean isCancelling) { assertNotNull(executionSet); assertNotNull(executionSet.getConditionExpression()); assertNotNull(executionSet.getConditionExpression().getValue()); assertNotNull(executionSet.getConditionExpression().getType()); assertNotNull(executionSet.getCancelActivity()); assertEquals(conditionExpressionLanguage, executionSet.getConditionExpression().getValue().getLanguage()); assertEquals(conditionExpressionScript, executionSet.getConditionExpression().getValue().getScript()); assertEquals(conditionExpressionType, executionSet.getConditionExpression().getType().getName()); assertEquals(isCancelling, executionSet.getCancelActivity().getValue()); } }