Example #1
0
        public virtual void testSingleExecutionWithUserTask()
        {
            deploymentForTenant("tenant1", BPMN);

            AssertingTaskListener.addAsserts(hasTenantId("tenant1"));

            ProcessDefinition processDefinition = repositoryService.createProcessDefinitionQuery().singleResult();

            runtimeService.startProcessInstanceById(processDefinition.Id);
        }
Example #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override protected void tearDown() throws Exception
        protected internal override void tearDown()
        {
            AssertingTaskListener.clear();
            base.tearDown();
        }