@Deployment(resources = {"org/camunda/bpm/engine/test/jobexecutor/JobDefinitionDeploymentTest.testAsyncContinuation.bpmn20.xml",
"org/camunda/bpm/engine/test/jobexecutor/JobDefinitionDeploymentTest.testMultipleProcessesWithinDeployment.bpmn20.xml"})
public void testMultipleProcessDeployment() {
JobDefinitionQuery query = managementService.createJobDefinitionQuery();
List<JobDefinition> jobDefinitions = query.list();
assertEquals(3, jobDefinitions.size());
assertEquals(1, query.processDefinitionKey("testProcess").list().size());
assertEquals(2, query.processDefinitionKey("anotherTestProcess").list().size());
}