@Test
@OperateOnDeployment(value=PA2)
public void testDeployProcessArchive() {
Assert.assertNotNull(processEngine);
RepositoryService repositoryService = processEngine.getRepositoryService();
long count = repositoryService.createProcessDefinitionQuery()
.processDefinitionKey("testDeployProcessArchive")
.count();
Assert.assertEquals(2, count);
count = repositoryService.createProcessDefinitionQuery()
.processDefinitionKey("testDeployProcessArchiveUnchanged")
.count();
Assert.assertEquals(1, count);
}