import org.camunda.bpm.engine.RepositoryService\r
import org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity\r
import org.camunda.bpm.engine.repository.ProcessDefinition\r
-import org.camunda.bpm.engine.runtime.Execution\r
+import org.camunda.bpm.engine.delegate.DelegateExecution\r
import org.junit.Before\r
import org.junit.Rule\r
import org.junit.Test\r
\r
}\r
\r
- public void initializeVariables(Execution mockExecution) {\r
+ public void initializeVariables(DelegateExecution mockExecution) {\r
\r
//verify(mockExecution).setVariable(Prefix + "Success", false)\r
\r
when(mockExecution.getVariable("bpmnRequest")).thenReturn(jsonIncomingRequest)\r
try{\r
\r
- // preProcessRequest(Execution execution) \r
+ // preProcessRequest(DelegateExecution execution) \r
CreateGenericALaCarteServiceInstance createGenericALaCarteServiceInstance = new CreateGenericALaCarteServiceInstance()\r
createGenericALaCarteServiceInstance.preProcessRequest(mockExecution)\r
\r
when(mockExecution.getVariable("mso-request-id")).thenReturn("e8ebf6a0-f8ea-4dc0-8b99-fe98a87722d6")\r
when(mockExecution.getVariable("serviceInstanceId")).thenReturn("f70e927b-6087-4974-9ef8-c5e4d5847ca4")\r
try{\r
- // preProcessRequest(Execution execution)\r
+ // preProcessRequest(DelegateExecution execution)\r
CreateGenericALaCarteServiceInstance createGenericALaCarteServiceInstance = new CreateGenericALaCarteServiceInstance()\r
createGenericALaCarteServiceInstance.sendSyncResponse(mockExecution)\r
\r