Merge "Unit test coverage lines for MusicUtil.java"
authorThomas Nelson <nelson24@att.com>
Fri, 8 Mar 2019 21:31:42 +0000 (21:31 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 8 Mar 2019 21:31:42 +0000 (21:31 +0000)
src/test/java/org/onap/music/unittests/MusicUtilTest.java

index 9835034..04149fc 100644 (file)
@@ -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.
@@ -215,4 +216,10 @@ public class MusicUtilTest {
     }
 
 
+    @Test
+    public void testIsValidConsistency(){
+        assertTrue(MusicUtil.isValidConsistency("ALL"));
+        assertFalse(MusicUtil.isValidConsistency("TEST"));
+    }
+
 }