aboutsummaryrefslogtreecommitdiffstats
path: root/appc-oam
diff options
context:
space:
mode:
authorRupinder <rupinsi1@in.ibm.com>2020-05-20 12:50:14 +0530
committerTakamune Cho <takamune.cho@att.com>2020-05-20 13:39:14 +0000
commit82f2af54dbe7a9f9dcc0a10c714ddfc863b078bc (patch)
treed58200ce990daae6ed6cfe5d452f356c7b16e6b5 /appc-oam
parent0c8f94750cd5d60683444fe79bfc2c137b9266bc (diff)
fixed jUnit in 3 files
Issue-ID: APPC-1859 Change-Id: I911bb2dc4fa46a73cc7ffc60712b66e1902403fe Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
Diffstat (limited to 'appc-oam')
-rw-r--r--appc-oam/appc-oam-bundle/src/test/java/org/onap/appc/oam/util/OperationHelperTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/appc-oam/appc-oam-bundle/src/test/java/org/onap/appc/oam/util/OperationHelperTest.java b/appc-oam/appc-oam-bundle/src/test/java/org/onap/appc/oam/util/OperationHelperTest.java
index d8280344d..0b288cacd 100644
--- a/appc-oam/appc-oam-bundle/src/test/java/org/onap/appc/oam/util/OperationHelperTest.java
+++ b/appc-oam/appc-oam-bundle/src/test/java/org/onap/appc/oam/util/OperationHelperTest.java
@@ -53,6 +53,7 @@ import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
import org.powermock.reflect.Whitebox;
+import static org.junit.Assert.assertNotNull;
import static org.mockito.Mockito.mock;
import static org.powermock.api.mockito.PowerMockito.mockStatic;
@@ -149,6 +150,7 @@ public class OperationHelperTest {
MaintenanceModeInput mockInput1 = mock(MaintenanceModeInput.class);
Mockito.doReturn(mockCommonHeader).when(mockInput1).getCommonHeader();
operationHelper.isInputValid(mockInput1);
+ assertNotNull(mockInput);
}
@Test