Merge "added test cases to JsonResponseTest.java"
authorThomas Nelson <nelson24@att.com>
Wed, 19 Jun 2019 13:41:03 +0000 (13:41 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 19 Jun 2019 13:41:03 +0000 (13:41 +0000)
src/test/java/org/onap/music/unittests/jsonobjects/JsonOnboardTest.java

index 1e66ed5..f7a1576 100644 (file)
@@ -4,6 +4,8 @@
  * ===================================================================
  *  Copyright (c) 2017 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,7 +21,7 @@
  * ============LICENSE_END=============================================
  * ====================================================================
  */
-
 package org.onap.music.unittests.jsonobjects;
 
 import static org.junit.Assert.*;
@@ -75,5 +77,12 @@ public class JsonOnboardTest {
         assertEquals(aaf,jo.getIsAAF());
         
     }
+    
+    @Test
+    public void testKeyspace() {
+        jo.setKeyspace_name("Keyspace");
+        assertEquals("Keyspace",jo.getKeyspace());
+        
+    }
 
 }