AT&T 1712 and 1802 release code
[so.git] / bpmn / MSOInfrastructureBPMN / src / test / groovy / org / openecomp / mso / bpmn / infrastructure / scripts / CreateGenericAlaCarteServiceInstanceTest.groovy
index e5d9d62..adab1bf 100644 (file)
@@ -4,7 +4,7 @@ import org.camunda.bpm.engine.ProcessEngineServices
 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
@@ -110,7 +110,7 @@ class CreateGenericAlaCarteServiceInstanceTest  {
                        \r
                }\r
 \r
-               public void initializeVariables(Execution mockExecution) {\r
+               public void initializeVariables(DelegateExecution mockExecution) {\r
                        \r
                        //verify(mockExecution).setVariable(Prefix + "Success", false)\r
                        \r
@@ -131,7 +131,7 @@ class CreateGenericAlaCarteServiceInstanceTest  {
                        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
@@ -157,7 +157,7 @@ class CreateGenericAlaCarteServiceInstanceTest  {
                        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