Fix the sonar issue.
[aai/esr-server.git] / esr-mgr / src / test / java / org / onap / aai / esr / exception / ExtsysExceptionTest.java
index e3ae403..a990a21 100644 (file)
@@ -22,12 +22,6 @@ public class ExtsysExceptionTest {
 \r
     @Test\r
     public void testAllMethods() {\r
 \r
     @Test\r
     public void testAllMethods() {\r
-        ExtsysException esExp = new ExtsysException();\r
-        esExp.setErrorCode("498");\r
-        Assert.assertEquals(esExp.getErrorCode(), "498");\r
-\r
-        esExp.setErrorMsg("Exception from JUnit");\r
-        Assert.assertEquals(esExp.getErrorMsg(), "Exception from JUnit");\r
 \r
         ExtsysException oneArgExp = new ExtsysException("Exception from JUnit");\r
         Assert.assertEquals(oneArgExp.getMessage(), "Exception from JUnit");\r
 \r
         ExtsysException oneArgExp = new ExtsysException("Exception from JUnit");\r
         Assert.assertEquals(oneArgExp.getMessage(), "Exception from JUnit");\r