diff options
author | 2020-04-29 19:39:12 +0000 | |
---|---|---|
committer | 2020-04-29 19:39:12 +0000 | |
commit | 013c0393a92ef0c1475a97a112a78cd9ff1b5fc4 (patch) | |
tree | f3a68113220952841d1a0a507114d949cec971f8 /ecomp-portal-BE-common/src/test/java/org | |
parent | c0458c27e63febc5857409998b989e68d55e8da4 (diff) | |
parent | 5c119d0b5aca523d075a30262d5a7482dc320680 (diff) |
Merge "junit testcase NoncentralizedAppException"
Diffstat (limited to 'ecomp-portal-BE-common/src/test/java/org')
-rw-r--r-- | ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/exceptions/NonCentralizedAppExceptionTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/exceptions/NonCentralizedAppExceptionTest.java b/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/exceptions/NonCentralizedAppExceptionTest.java index 7109b2d0..d2958437 100644 --- a/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/exceptions/NonCentralizedAppExceptionTest.java +++ b/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/exceptions/NonCentralizedAppExceptionTest.java @@ -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"); } } |