From 60d5b2cc002170d24a78bca351f00804cfe9906e Mon Sep 17 00:00:00 2001 From: GIlca Date: Wed, 6 Sep 2023 13:39:40 +0300 Subject: [PATCH] small refactor --- .../cloudslang/lang/runtime/bindings/ArgumentsBindingTest.java | 2 +- .../io/cloudslang/lang/runtime/bindings/InputsBindingTest.java | 2 +- .../io/cloudslang/lang/runtime/bindings/OutputsBindingTest.java | 2 +- .../io/cloudslang/lang/runtime/bindings/ResultBindingTest.java | 2 +- .../lang/runtime/bindings/scripts/ScriptEvaluatorTest.java | 2 +- .../lang/runtime/bindings/scripts/ScriptExecutorTest.java | 2 +- .../io/cloudslang/lang/runtime/steps/ExecutableStepsTest.java | 2 +- .../io/cloudslang/lang/runtime/steps/ParallelLoopStepsTest.java | 2 +- .../io/cloudslang/lang/runtime/steps/StepExecutionDataTest.java | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ArgumentsBindingTest.java b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ArgumentsBindingTest.java index ac3c618ab..b8b24722c 100644 --- a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ArgumentsBindingTest.java +++ b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ArgumentsBindingTest.java @@ -483,7 +483,7 @@ public PythonExecutorLifecycleManagerService pythonExecutorLifecycleManagerServi @Bean(name = "pythonExecutorProcessManagerService") public PythonExecutorProcessManagerService pythonExecutorProcessManagerService() { - return mock(PythonExecutorProcessManagerServiceImpl.class); + return mock(PythonExecutorProcessManagerService.class); } @Bean(name = "externalPythonExecutorService") diff --git a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/InputsBindingTest.java b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/InputsBindingTest.java index a413bae21..48d8b56f1 100644 --- a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/InputsBindingTest.java +++ b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/InputsBindingTest.java @@ -582,7 +582,7 @@ public PythonExecutorLifecycleManagerService pythonExecutorLifecycleManagerServi @Bean(name = "pythonExecutorProcessManagerService") public PythonExecutorProcessManagerService pythonExecutorProcessManagerService() { - return mock(PythonExecutorProcessManagerServiceImpl.class); + return mock(PythonExecutorProcessManagerService.class); } @Bean(name = "externalPythonExecutorService") diff --git a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/OutputsBindingTest.java b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/OutputsBindingTest.java index 4bac3a6ee..44f0ea4a0 100644 --- a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/OutputsBindingTest.java +++ b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/OutputsBindingTest.java @@ -290,7 +290,7 @@ public PythonExecutorLifecycleManagerService pythonExecutorLifecycleManagerServi @Bean(name = "pythonExecutorProcessManagerService") public PythonExecutorProcessManagerService pythonExecutorProcessManagerService() { - return mock(PythonExecutorProcessManagerServiceImpl.class); + return mock(PythonExecutorProcessManagerService.class); } @Bean(name = "externalPythonExecutorService") diff --git a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ResultBindingTest.java b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ResultBindingTest.java index 113d3f10a..2c95e12b4 100644 --- a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ResultBindingTest.java +++ b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ResultBindingTest.java @@ -267,7 +267,7 @@ public PythonExecutorLifecycleManagerService pythonExecutorLifecycleManagerServi @Bean(name = "pythonExecutorProcessManagerService") public PythonExecutorProcessManagerService pythonExecutorProcessManagerService() { - return mock(PythonExecutorProcessManagerServiceImpl.class); + return mock(PythonExecutorProcessManagerService.class); } @Bean(name = "externalPythonExecutorService") diff --git a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/scripts/ScriptEvaluatorTest.java b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/scripts/ScriptEvaluatorTest.java index 65c9a565c..c061207d7 100644 --- a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/scripts/ScriptEvaluatorTest.java +++ b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/scripts/ScriptEvaluatorTest.java @@ -233,7 +233,7 @@ public PythonExecutorLifecycleManagerService pythonExecutorLifecycleManagerServi @Bean(name = "pythonExecutorProcessManagerService") public PythonExecutorProcessManagerService pythonExecutorProcessManagerService() { - return mock(PythonExecutorProcessManagerServiceImpl.class); + return mock(PythonExecutorProcessManagerService.class); } @Bean(name = "externalPythonExecutorService") diff --git a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/scripts/ScriptExecutorTest.java b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/scripts/ScriptExecutorTest.java index 760d84e0e..03fb69cfa 100644 --- a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/scripts/ScriptExecutorTest.java +++ b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/scripts/ScriptExecutorTest.java @@ -223,7 +223,7 @@ public PythonExecutorLifecycleManagerService pythonExecutorLifecycleManagerServi @Bean(name = "pythonExecutorProcessManagerService") public PythonExecutorProcessManagerService pythonExecutorProcessManagerService() { - return mock(PythonExecutorProcessManagerServiceImpl.class); + return mock(PythonExecutorProcessManagerService.class); } @Bean(name = "externalPythonExecutorService") diff --git a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/steps/ExecutableStepsTest.java b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/steps/ExecutableStepsTest.java index 277f77628..c65178876 100644 --- a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/steps/ExecutableStepsTest.java +++ b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/steps/ExecutableStepsTest.java @@ -539,7 +539,7 @@ public PythonExecutorLifecycleManagerService pythonExecutorLifecycleManagerServi @Bean(name = "pythonExecutorProcessManagerService") public PythonExecutorProcessManagerService pythonExecutorProcessManagerService() { - return mock(PythonExecutorProcessManagerServiceImpl.class); + return mock(PythonExecutorProcessManagerService.class); } @Bean(name = "externalPythonRuntimeService") diff --git a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/steps/ParallelLoopStepsTest.java b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/steps/ParallelLoopStepsTest.java index ce6e1e57f..d1e65753f 100644 --- a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/steps/ParallelLoopStepsTest.java +++ b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/steps/ParallelLoopStepsTest.java @@ -630,7 +630,7 @@ public PythonExecutorLifecycleManagerService pythonExecutorLifecycleManagerServi @Bean(name = "pythonExecutorProcessManagerService") public PythonExecutorProcessManagerService pythonExecutorProcessManagerService() { - return mock(PythonExecutorProcessManagerServiceImpl.class); + return mock(PythonExecutorProcessManagerService.class); } @Bean(name = "externalPythonRuntimeService") diff --git a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/steps/StepExecutionDataTest.java b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/steps/StepExecutionDataTest.java index 704febe6a..705b57385 100644 --- a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/steps/StepExecutionDataTest.java +++ b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/steps/StepExecutionDataTest.java @@ -666,7 +666,7 @@ public PythonExecutorLifecycleManagerService pythonExecutorLifecycleManagerServi @Bean(name = "pythonExecutorProcessManagerService") public PythonExecutorProcessManagerService pythonExecutorProcessManagerService() { - return mock(PythonExecutorProcessManagerServiceImpl.class); + return mock(PythonExecutorProcessManagerService.class); } @Bean(name = "externalPythonExecutorService")