summaryrefslogtreecommitdiffstats
path: root/client/client-editor
diff options
context:
space:
mode:
Diffstat (limited to 'client/client-editor')
-rw-r--r--client/client-editor/src/test/java/org/onap/policy/apex/client/editor/rest/RestInterfaceTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/client-editor/src/test/java/org/onap/policy/apex/client/editor/rest/RestInterfaceTest.java b/client/client-editor/src/test/java/org/onap/policy/apex/client/editor/rest/RestInterfaceTest.java
index 4893775ea..012167b51 100644
--- a/client/client-editor/src/test/java/org/onap/policy/apex/client/editor/rest/RestInterfaceTest.java
+++ b/client/client-editor/src/test/java/org/onap/policy/apex/client/editor/rest/RestInterfaceTest.java
@@ -108,7 +108,7 @@ public class RestInterfaceTest {
localmodel = new ApexModelReader<>(AxPolicyModel.class, false)
.read(ResourceUtils.getResourceAsStream(TESTMODELFILE));
localmodelString =
- new ApexModelStringWriter<AxPolicyModel>(false).writeJSONString(localmodel, AxPolicyModel.class);
+ new ApexModelStringWriter<AxPolicyModel>(false).writeJsonString(localmodel, AxPolicyModel.class);
// initialize a session ID
createNewSession();
@@ -195,7 +195,7 @@ public class RestInterfaceTest {
// Write that local copy of the AxPolicy object to a Json String, ten parse it again
final ApexModelStringWriter<AxPolicy> apexModelWriter = new ApexModelStringWriter<>(false);
- final String localPolicyString = apexModelWriter.writeJSONString(localpolicy, AxPolicy.class);
+ final String localPolicyString = apexModelWriter.writeJsonString(localpolicy, AxPolicy.class);
apexPolicyReader = new ApexModelReader<>(AxPolicy.class, false);
final AxPolicy localpolicyReparsed = apexPolicyReader.read(localPolicyString);
// AxPolicy localpolicy_reparsed = RestUtils.getConceptFromJSON(returnedPolicyAsString, AxPolicy.class);