Merge "junit testcase NoncentralizedAppException"
authorSunder Tattavarada <statta@research.att.com>
Wed, 29 Apr 2020 19:39:12 +0000 (19:39 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 29 Apr 2020 19:39:12 +0000 (19:39 +0000)
ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/exceptions/NonCentralizedAppExceptionTest.java

index 7109b2d..d295843 100644 (file)
@@ -39,11 +39,14 @@ package org.onap.portalapp.portal.exceptions;
 
 import org.junit.Test;
 
+import static org.junit.Assert.assertEquals;
+
 public class NonCentralizedAppExceptionTest {
 
        @Test
     public void TestException2() {
         String s1 = "Value1";
         NonCentralizedAppException nca = new NonCentralizedAppException(s1);
+        assertEquals(nca.toString(),"Value1 is not Centralized Application");
        }
 }