summaryrefslogtreecommitdiffstats
path: root/esr-mgr/src/test/java
diff options
context:
space:
mode:
authorLizi <li.zi30@zte.com.cn>2018-02-06 06:21:00 +0000
committerLizi <li.zi30@zte.com.cn>2018-02-06 06:25:07 +0000
commit06ef81a00bde473248f4e447d48ce0c4dc1ce993 (patch)
tree30a2448af1e048d29379f0f8b53427b2d4d97e83 /esr-mgr/src/test/java
parent9770fc1f6ba50a4607f248f37c100785007ba7e1 (diff)
Fix the sonar issue.
Change-Id: I6894d0773ef37acea819897cd80a4aa0d2b785af Issue-ID: AAI-734 Signed-off-by: Lizi <li.zi30@zte.com.cn>
Diffstat (limited to 'esr-mgr/src/test/java')
-rw-r--r--esr-mgr/src/test/java/org/onap/aai/esr/exception/ExtsysExceptionTest.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/esr-mgr/src/test/java/org/onap/aai/esr/exception/ExtsysExceptionTest.java b/esr-mgr/src/test/java/org/onap/aai/esr/exception/ExtsysExceptionTest.java
index e3ae403..a990a21 100644
--- a/esr-mgr/src/test/java/org/onap/aai/esr/exception/ExtsysExceptionTest.java
+++ b/esr-mgr/src/test/java/org/onap/aai/esr/exception/ExtsysExceptionTest.java
@@ -22,12 +22,6 @@ public class ExtsysExceptionTest {
@Test
public void testAllMethods() {
- ExtsysException esExp = new ExtsysException();
- esExp.setErrorCode("498");
- Assert.assertEquals(esExp.getErrorCode(), "498");
-
- esExp.setErrorMsg("Exception from JUnit");
- Assert.assertEquals(esExp.getErrorMsg(), "Exception from JUnit");
ExtsysException oneArgExp = new ExtsysException("Exception from JUnit");
Assert.assertEquals(oneArgExp.getMessage(), "Exception from JUnit");