diff options
-rw-r--r-- | music-core/src/test/java/org/onap/music/exceptions/MusicDeadlockExceptionTest.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/music-core/src/test/java/org/onap/music/exceptions/MusicDeadlockExceptionTest.java b/music-core/src/test/java/org/onap/music/exceptions/MusicDeadlockExceptionTest.java index 6bb04566..db0e10ea 100644 --- a/music-core/src/test/java/org/onap/music/exceptions/MusicDeadlockExceptionTest.java +++ b/music-core/src/test/java/org/onap/music/exceptions/MusicDeadlockExceptionTest.java @@ -46,6 +46,20 @@ public class MusicDeadlockExceptionTest { } } + + @Test + public void TestException6() { + String s1 = "Value1"; + String s2 = "value2"; + try { + if (!s1.equalsIgnoreCase(s2)) { + throw new MusicDeadlockException("org.onap.music.exceptions.MusicDeadlockException"); + } + } catch (MusicDeadlockException mde) { + assertEquals(mde.getMessage(),"org.onap.music.exceptions.MusicDeadlockException"); + } + + } @Test public void TestException2() { |