diff options
author | anushadasari <danush10@in.ibm.com> | 2019-07-24 13:03:00 +0530 |
---|---|---|
committer | anusha dasari <danush10@in.ibm.com> | 2019-07-25 06:57:30 +0000 |
commit | acb4a83484ca6fb1fa97fafaf14626317a2f48e1 (patch) | |
tree | 6ef7b6f204c6ff94cb8016f5dc022876b4a66052 | |
parent | 69a3d84baf4c5b312b6fd402616881d4dd6333a3 (diff) |
JUNIT- DuplicateValueException.java
JUNIT for file DuplicateValueException.java
Issue-ID: CCSDK-1523
Change-Id: I08cb7cca1d02cfac5517ec603273b441b7311ff5
Signed-off-by: anushadasari <danush10@in.ibm.com>
-rw-r--r-- | sli/common/src/test/java/org/onap/ccsdk/sli/core/sli/DuplicatevalueExceptionTest.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sli/common/src/test/java/org/onap/ccsdk/sli/core/sli/DuplicatevalueExceptionTest.java b/sli/common/src/test/java/org/onap/ccsdk/sli/core/sli/DuplicatevalueExceptionTest.java new file mode 100644 index 000000000..387873557 --- /dev/null +++ b/sli/common/src/test/java/org/onap/ccsdk/sli/core/sli/DuplicatevalueExceptionTest.java @@ -0,0 +1,28 @@ +package org.onap.ccsdk.sli.core.sli; + +import static org.junit.Assert.*; + +import org.junit.Test; + +public class DuplicatevalueExceptionTest { + + + @Test + public void DuplicateValueExceptionTest() { + assertNotNull(new DuplicateValueException()); + + } + + @Test + public void DuplicateValueExceptionTestString() { + assertNotNull(new DuplicateValueException("JUnit Test")); + + } + + @Test + public void DuplicateValueExceptionTestStringThrowable() { + assertNotNull(new DuplicateValueException("JUnit Test", new Exception("JUnit Test"))); + + } + +} |