public virtual void deployProcesses() { IProcessDefinition sharedDefinition = testHelper.DeployAndGetDefinition(ProcessModels.OneTaskProcess); IProcessDefinition tenant1Definition = testHelper.DeployForTenantAndGetDefinition(TENANT_ONE, ProcessModels.OneTaskProcess); IProcessDefinition tenant2Definition = testHelper.DeployForTenantAndGetDefinition(TENANT_TWO, ProcessModels.OneTaskProcess); sharedBatch = batchHelper.MigrateProcessInstanceAsync(sharedDefinition, sharedDefinition); tenant1Batch = batchHelper.MigrateProcessInstanceAsync(tenant1Definition, tenant1Definition); tenant2Batch = batchHelper.MigrateProcessInstanceAsync(tenant2Definition, tenant2Definition); }
[Test] public virtual void testBatchTenantIdCase1() { // given IBatch batch = batchHelper.MigrateProcessInstanceAsync(sharedDefinition, sharedDefinition); // then Assert.IsNull(batch.TenantId); }