summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Nelson <nelson24@att.com>2019-01-29 20:00:32 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-29 20:00:32 +0000
commitb98dd8dffd51f7611fce4d6b7032ef1edeab8bfa (patch)
tree98427adfb492fb123b85e38b969f1b1644b050fc /src
parentc258d0c5925064db796153b4e64a2530477f8132 (diff)
parent586d04056ea61d6c6428d5f23eaca24952f39454 (diff)
Merge "added test case to JsonUpdateTest.java"
Diffstat (limited to 'src')
-rw-r--r--src/test/java/org/onap/music/unittests/jsonobjects/JsonUpdateTest.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/java/org/onap/music/unittests/jsonobjects/JsonUpdateTest.java b/src/test/java/org/onap/music/unittests/jsonobjects/JsonUpdateTest.java
index 54db0540..2186e496 100644
--- a/src/test/java/org/onap/music/unittests/jsonobjects/JsonUpdateTest.java
+++ b/src/test/java/org/onap/music/unittests/jsonobjects/JsonUpdateTest.java
@@ -4,6 +4,8 @@
* ===================================================================
* Copyright (c) 2018 AT&T Intellectual Property
* ===================================================================
+ * Modifications Copyright (c) 2019 IBM.
+ * ===================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -99,5 +101,10 @@ public class JsonUpdateTest {
ju.setValues(cons);
assertEquals("one",ju.getValues().get("val1"));
}
+
+ @Test
+ public void testSerialize() {
+ assertTrue(ju.serialize() instanceof byte[]);
+ }
}