diff options
Diffstat (limited to 'services/activity-spec/activity-spec-web/activity-spec-service/src/test/java/org/openecomp/activityspec/be/impl')
-rw-r--r-- | services/activity-spec/activity-spec-web/activity-spec-service/src/test/java/org/openecomp/activityspec/be/impl/ActivitySpecManagerImplTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/services/activity-spec/activity-spec-web/activity-spec-service/src/test/java/org/openecomp/activityspec/be/impl/ActivitySpecManagerImplTest.java b/services/activity-spec/activity-spec-web/activity-spec-service/src/test/java/org/openecomp/activityspec/be/impl/ActivitySpecManagerImplTest.java index ce0f2883fa..3576ae81c7 100644 --- a/services/activity-spec/activity-spec-web/activity-spec-service/src/test/java/org/openecomp/activityspec/be/impl/ActivitySpecManagerImplTest.java +++ b/services/activity-spec/activity-spec-web/activity-spec-service/src/test/java/org/openecomp/activityspec/be/impl/ActivitySpecManagerImplTest.java @@ -47,7 +47,7 @@ import java.util.List; public class ActivitySpecManagerImplTest { private static final String STRING_TYPE = "String"; - ActivitySpecEntity activitySpec; + private ActivitySpecEntity activitySpec; private ActivitySpecEntity retrieved; private ActivitySpecEntity input; private ActivitySpecEntity activitySpecToCreate; @@ -106,13 +106,13 @@ public class ActivitySpecManagerImplTest { List<ActivitySpecParameter> inputs = new ArrayList<>(); inputs.add(inputParams); inputs.add(inputParams1); - activitySpecToCreate.setInputParameters(inputs); + activitySpecToCreate.setInputs(inputs); ActivitySpecParameter outputParams = new ActivitySpecParameter("status", STRING_TYPE); outputParams.setValue("started"); List<ActivitySpecParameter> outputs = new ArrayList<>(); outputs.add(outputParams); - activitySpecToCreate.setOutputParameters(outputs); + activitySpecToCreate.setOutputs(outputs); activitySpec = activitySpecManager.createActivitySpec (activitySpecToCreate); @@ -239,7 +239,7 @@ public class ActivitySpecManagerImplTest { Assert.assertEquals(actual.getName(), expected.getName()); Assert.assertEquals(actual.getDescription(), expected.getDescription()); Assert.assertEquals(actual.getCategoryList(), expected.getCategoryList()); - Assert.assertEquals(actual.getInputParameters(), expected.getInputParameters()); - Assert.assertEquals(actual.getOutputParameters(), expected.getOutputParameters()); + Assert.assertEquals(actual.getInputs(), expected.getInputs()); + Assert.assertEquals(actual.getOutputs(), expected.getOutputs()); } } |