// the job definitions should be suspended...
assertEquals(0, jobDefinitionQuery.active().count());
assertEquals(5, jobDefinitionQuery.suspended().count());
// ...and the corresponding jobs should be still active
assertEquals(0, jobQuery.suspended().count());
assertEquals(5, jobQuery.active().count());
// Clean DB
for (org.camunda.bpm.engine.repository.Deployment deployment : repositoryService.createDeploymentQuery().list()) {
repositoryService.deleteDeployment(deployment.getId(), true);