diff options
author | Dan Timoney <dtimoney@att.com> | 2019-07-25 13:41:43 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-07-25 13:41:43 +0000 |
commit | 31ce15619628a758dff30fd255f13912309fccf6 (patch) | |
tree | f4059e7f877c15b1bbbcf609e513bb4ca2879c76 | |
parent | 83e356b94c5943e76e47a15abe70d7085ff0bfaf (diff) | |
parent | acb4a83484ca6fb1fa97fafaf14626317a2f48e1 (diff) |
Merge "JUNIT- DuplicateValueException.java"
-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"))); + + } + +} |