From 2c0447910356034d0c05d4607a41066a8e6e5342 Mon Sep 17 00:00:00 2001 From: Driptaroop Das Date: Thu, 14 Feb 2019 18:14:16 +0530 Subject: 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 --- src/test/java/org/onap/music/unittests/MusicUtilTest.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/test/java') 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")); + } + } -- cgit 1.2.3-korg