summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-07-24 13:07:23 +0530
committerDan Timoney <dtimoney@att.com>2019-07-25 13:42:17 +0000
commit4a1919139ffa44fd413e30d7288cafe659e1cc41 (patch)
tree1dd0fc045b1cc07536c3951388a9af60c67ba871
parent31ce15619628a758dff30fd255f13912309fccf6 (diff)
JUNIT-ExitNodeException.java
Junit for file ExitNodeException.java Issue-ID: CCSDK-1524 Change-Id: If94b520053f47db083779dd38c7117a978bd6ae5 Signed-off-by: anushadasari <danush10@in.ibm.com>
-rw-r--r--sli/common/src/test/java/org/onap/ccsdk/sli/core/sli/ExitNodeExceptionTest.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/sli/common/src/test/java/org/onap/ccsdk/sli/core/sli/ExitNodeExceptionTest.java b/sli/common/src/test/java/org/onap/ccsdk/sli/core/sli/ExitNodeExceptionTest.java
new file mode 100644
index 000000000..039b9f5ca
--- /dev/null
+++ b/sli/common/src/test/java/org/onap/ccsdk/sli/core/sli/ExitNodeExceptionTest.java
@@ -0,0 +1,27 @@
+package org.onap.ccsdk.sli.core.sli;
+
+import static org.junit.Assert.*;
+
+import org.junit.Test;
+
+public class ExitNodeExceptionTest {
+
+ @Test
+ public void ExitNodeExceptionTest() {
+ assertNotNull(new ExitNodeException());
+
+ }
+
+ @Test
+ public void ExitNodeExceptionTestString() {
+ assertNotNull(new ExitNodeException("JUnit Test"));
+
+ }
+
+ @Test
+ public void ExitNodeExceptionTestStringThrowable() {
+ assertNotNull(new ExitNodeException("JUnit Test", new Exception("JUnit Test")));
+
+ }
+
+}