assertFalse(activatedJobDefinition.isSuspended());
// ...and the corresponding job should be activated too
JobQuery jobQuery = managementService.createJobQuery();
assertEquals(0, jobQuery.suspended().count());
assertEquals(1, jobQuery.active().count());
Job job = jobQuery.active().singleResult();
assertEquals(jobDefinition.getId(), job.getJobDefinitionId());