diff options
author | Sandeep J <sandeejh@in.ibm.com> | 2019-06-17 13:35:43 +0530 |
---|---|---|
committer | Sandeep Jha <sandeejh@in.ibm.com> | 2019-06-17 08:25:33 +0000 |
commit | 350d1312a383c3eff33297ff3dccb3e109baef68 (patch) | |
tree | 21661436360d2143390a069e128767a3ab5d0b8f | |
parent | e49ff54ef8cd2162cdc01c9a9ed69a8e6d6a51e1 (diff) |
added test case to JsonOnboardTest.java
to increase code coverage
Issue-ID: MUSIC-412
Change-Id: If3cea8de2e00fea19a5636e47fde9a30c2a395a8
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
-rw-r--r-- | src/test/java/org/onap/music/unittests/jsonobjects/JsonOnboardTest.java | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/test/java/org/onap/music/unittests/jsonobjects/JsonOnboardTest.java b/src/test/java/org/onap/music/unittests/jsonobjects/JsonOnboardTest.java index 1e66ed58..f7a1576a 100644 --- a/src/test/java/org/onap/music/unittests/jsonobjects/JsonOnboardTest.java +++ b/src/test/java/org/onap/music/unittests/jsonobjects/JsonOnboardTest.java @@ -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()); + + } } |