@Before public void setUp() { decisionService = engineRule.getDecisionService(); repositoryService = engineRule.getRepositoryService(); historyService = engineRule.getHistoryService(); identityService = engineRule.getIdentityService(); testRule.deployForTenant(TENANT_ONE, DISH_DRG_DMN); decisionService .evaluateDecisionByKey(DISH_DECISION) .decisionDefinitionTenantId(TENANT_ONE) .variables( Variables.createVariables().putValue(TEMPERATURE, 21).putValue(DAY_TYPE, WEEKEND)) .evaluate(); }
@Before public void initServices() { repositoryService = rule.getRepositoryService(); }