summaryrefslogtreecommitdiffstats
path: root/ms
diff options
context:
space:
mode:
authorDan Timoney <dt5972@att.com>2018-09-20 18:02:27 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-20 18:02:27 +0000
commitc17527a33c187ab9fb8fdb00f4aded060bdccd0e (patch)
tree22ff44c317cfbc58c65c1675081a2b75d2c7bc3c /ms
parent69c243adcb124824eab27aaa46d9d5bb2a9a9466 (diff)
parent76adc8247ba3a6bd5537eab58a03b0d45ef33482 (diff)
Merge "added test case to SpringServiceTest.java"
Diffstat (limited to 'ms')
-rw-r--r--ms/neng/src/test/java/org/onap/ccsdk/apps/ms/neng/core/service/SpringServiceTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/ms/neng/src/test/java/org/onap/ccsdk/apps/ms/neng/core/service/SpringServiceTest.java b/ms/neng/src/test/java/org/onap/ccsdk/apps/ms/neng/core/service/SpringServiceTest.java
index 7ea63e61..22063a4d 100644
--- a/ms/neng/src/test/java/org/onap/ccsdk/apps/ms/neng/core/service/SpringServiceTest.java
+++ b/ms/neng/src/test/java/org/onap/ccsdk/apps/ms/neng/core/service/SpringServiceTest.java
@@ -109,6 +109,11 @@ public class SpringServiceTest {
Assert.assertNotNull(springserviceImpl.releaseNetworkElementName(request));
}
+ @Test(expected=Exception.class)
+ public void releaseNetworkElementNameTestForNull() throws Exception {
+ springserviceImpl.releaseNetworkElementName(null);
+ }
+
@Test
public void testGetQuickHello() {
Assert.assertTrue(springserviceImpl.getQuickHello("testMessage") instanceof HelloWorld);