From 4a1919139ffa44fd413e30d7288cafe659e1cc41 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Wed, 24 Jul 2019 13:07:23 +0530 Subject: JUNIT-ExitNodeException.java Junit for file ExitNodeException.java Issue-ID: CCSDK-1524 Change-Id: If94b520053f47db083779dd38c7117a978bd6ae5 Signed-off-by: anushadasari --- .../ccsdk/sli/core/sli/ExitNodeExceptionTest.java | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 sli/common/src/test/java/org/onap/ccsdk/sli/core/sli/ExitNodeExceptionTest.java 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 00000000..039b9f5c --- /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"))); + + } + +} -- cgit 1.2.3-korg