diff options
Diffstat (limited to 'src/test/java/org/onap/music/unittests/jsonobjects/JsonUpdateTest.java')
-rw-r--r-- | src/test/java/org/onap/music/unittests/jsonobjects/JsonUpdateTest.java | 8 |
1 files changed, 8 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..e00cb463 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 @@ -19,6 +21,7 @@ * ============LICENSE_END============================================= * ==================================================================== *******************************************************************************/ + package org.onap.music.unittests.jsonobjects; import static org.junit.Assert.*; @@ -99,5 +102,10 @@ public class JsonUpdateTest { ju.setValues(cons); assertEquals("one",ju.getValues().get("val1")); } + + @Test + public void testSerialize() { + assertTrue(ju.serialize() instanceof byte[]); + } } |