diff options
author | ezhil <ezhrajam@in.ibm.com> | 2020-04-21 21:35:49 +0530 |
---|---|---|
committer | ezhil <ezhrajam@in.ibm.com> | 2020-04-21 21:35:58 +0530 |
commit | 5c119d0b5aca523d075a30262d5a7482dc320680 (patch) | |
tree | d65cfd3f4c998006056daf3a7264d583ce1982ce /ecomp-portal-BE-common/src/test | |
parent | d7f3b463c9f0f11ceb0aad255f564b02c22ab978 (diff) |
junit testcase NoncentralizedAppException
Issue-ID: PORTAL-814
Change-Id: I0b89193e913e45bce0f29b7735dd65eb2f66d1f8
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
Diffstat (limited to 'ecomp-portal-BE-common/src/test')
-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"); } } |