From 705546609fdeeebf6713ceb195f9b32ee41c3e10 Mon Sep 17 00:00:00 2001 From: Thugutla sailakshmi Date: Mon, 18 Nov 2019 13:03:40 +0530 Subject: MusicAuthenticationException.java-junits Issue-ID: OPTFRA-578 Change-Id: I37146a307068ee018f615903690579179c1c690c Signed-off-by: Thugutla sailakshmi --- .../onap/music/exceptions/MusicDeadlockExceptionTest.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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() { -- cgit 1.2.3-korg