//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldSuspendBatch() public virtual void shouldSuspendBatch() { // given Batch batch = helper.migrateProcessInstancesAsync(1); // when managementService.suspendBatchById(batch.Id); // then batch = managementService.createBatchQuery().batchId(batch.Id).singleResult(); assertTrue(batch.Suspended); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void seedJobShouldHaveDefaultPriority() public virtual void seedJobShouldHaveDefaultPriority() { // when Batch batch = helper.migrateProcessInstancesAsync(1); // then Job seedJob = helper.getSeedJob(batch); assertEquals(DefaultJobPriorityProvider.DEFAULT_PRIORITY, seedJob.Priority); }