// Setup
MockControlActionFacade mockFacade = new MockControlActionFacade();
mockFacade.setResultCode(OperationServicesResultCode.SUCCESS);
MockContentContext mockContentContext = new MockContentContext();
MockContentServices mockContentServices = (MockContentServices) mockContentContext.getContentServices();
mockContentServices.setFilename("nonexistent-file");
// Test
JBPMWorkflowManager manager = new JBPMWorkflowManager(mockContentContext, mockFacade,
getJBossPaths(jbossPluginConfiguration));
DeployIndividualPackageResponse response = manager.run(packageDetails);