//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); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldSuspendSeedJobAndDefinition() public virtual void shouldSuspendSeedJobAndDefinition() { // given Batch batch = helper.migrateProcessInstancesAsync(1); // when managementService.suspendBatchById(batch.Id); // then JobDefinition seedJobDefinition = helper.getSeedJobDefinition(batch); assertTrue(seedJobDefinition.Suspended); Job seedJob = helper.getSeedJob(batch); assertTrue(seedJob.Suspended); }