예제 #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void queryByDeploymentId()
        public virtual void queryByDeploymentId()
        {
            DecisionRequirementsDefinitionQuery query = repositoryService.createDecisionRequirementsDefinitionQuery();

            assertThat(query.deploymentId("notExisting").count(), @is(0L));

            assertThat(query.deploymentId(firstDeploymentId).count(), @is(2L));
            assertThat(query.deploymentId(secondDeploymentId).count(), @is(1L));
        }