//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void queryByDecisionRequirementsDefinitionId() public virtual void queryByDecisionRequirementsDefinitionId() { testRule.deploy(DRD_DISH_RESOURCE, DRD_SCORE_RESOURCE); IList <DecisionRequirementsDefinition> drds = repositoryService.createDecisionRequirementsDefinitionQuery().orderByDecisionRequirementsDefinitionName().asc().list(); string dishDrdId = drds[0].Id; string scoreDrdId = drds[1].Id; DecisionDefinitionQuery query = repositoryService.createDecisionDefinitionQuery(); verifyQueryResults(query.decisionRequirementsDefinitionId("non existing"), 0); verifyQueryResults(query.decisionRequirementsDefinitionId(dishDrdId), 3); verifyQueryResults(query.decisionRequirementsDefinitionId(scoreDrdId), 2); }