Exemplo n.º 1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void queryByDecisionRequirementsDefinitionKey()
        public virtual void queryByDecisionRequirementsDefinitionKey()
        {
            testRule.deploy(DRD_DISH_RESOURCE, DRD_SCORE_RESOURCE);

            DecisionDefinitionQuery query = repositoryService.createDecisionDefinitionQuery();

            verifyQueryResults(query.decisionRequirementsDefinitionKey("non existing"), 0);
            verifyQueryResults(query.decisionRequirementsDefinitionKey("dish"), 3);
            verifyQueryResults(query.decisionRequirementsDefinitionKey("score"), 2);
        }