AT&T 1712 and 1802 release code
[so.git] / bpmn / MSOInfrastructureBPMN / src / test / groovy / org / openecomp / mso / bpmn / infrastructure / scripts / DeleteGenericAlaCarteServiceInstanceTest.groovy
index ae25c33..3b0e439 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
@@ -67,7 +67,7 @@ class DeleteGenericAlaCarteServiceInstanceTest  {
                        \r
                }\r
 \r
-               public void initializeVariables(Execution mockExecution) {\r
+               public void initializeVariables(DelegateExecution mockExecution) {\r
                        \r
                        verify(mockExecution).setVariable(Prefix + "Success", false)\r
                        \r
@@ -88,7 +88,7 @@ class DeleteGenericAlaCarteServiceInstanceTest  {
                        when(mockExecution.getVariable("bpmnRequest")).thenReturn(jsonIncomingRequest)\r
                        \r
                        try {\r
-                // preProcessRequest(Execution execution)\r
+                // preProcessRequest(DelegateExecution execution)\r
                 DeleteGenericALaCarteServiceInstance deleteGenericALaCarteServiceInstance = new DeleteGenericALaCarteServiceInstance()\r
                 deleteGenericALaCarteServiceInstance.preProcessRequest(mockExecution)\r
 \r