From: Driptaroop Das Date: Thu, 14 Feb 2019 12:44:16 +0000 (+0530) Subject: Unit test coverage lines for MusicUtil.java X-Git-Tag: 2.5.8~4^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F78%2F78478%2F1;p=music.git Unit test coverage lines for MusicUtil.java Unit test coverage lines for MusicUtil.java Issue-ID: MUSIC-332 Change-Id: I26afea2e78a1bf23cfa61f413cae48c80d187f3c Signed-off-by: Driptaroop Das --- diff --git a/src/test/java/org/onap/music/unittests/MusicUtilTest.java b/src/test/java/org/onap/music/unittests/MusicUtilTest.java index b117c330..5751c2c4 100644 --- a/src/test/java/org/onap/music/unittests/MusicUtilTest.java +++ b/src/test/java/org/onap/music/unittests/MusicUtilTest.java @@ -3,6 +3,7 @@ * org.onap.music * =================================================================== * Copyright (c) 2017 AT&T Intellectual Property + * Modifications Copyright (C) 2019 IBM. * =================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -204,4 +205,10 @@ public class MusicUtilTest { assertTrue(result.contains("value")); } + @Test + public void testIsValidConsistency(){ + assertTrue(MusicUtil.isValidConsistency("ALL")); + assertFalse(MusicUtil.isValidConsistency("TEST")); + } + }