summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-BE-common-test/src/main/java/org/openecomp/portalapp/portal/transport/EpNotificationItemExtVOTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-portal-BE-common-test/src/main/java/org/openecomp/portalapp/portal/transport/EpNotificationItemExtVOTest.java')
-rw-r--r--ecomp-portal-BE-common-test/src/main/java/org/openecomp/portalapp/portal/transport/EpNotificationItemExtVOTest.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/ecomp-portal-BE-common-test/src/main/java/org/openecomp/portalapp/portal/transport/EpNotificationItemExtVOTest.java b/ecomp-portal-BE-common-test/src/main/java/org/openecomp/portalapp/portal/transport/EpNotificationItemExtVOTest.java
new file mode 100644
index 00000000..11fe2cf7
--- /dev/null
+++ b/ecomp-portal-BE-common-test/src/main/java/org/openecomp/portalapp/portal/transport/EpNotificationItemExtVOTest.java
@@ -0,0 +1,33 @@
+package org.openecomp.portalapp.portal.transport;
+
+import static org.junit.Assert.assertEquals;
+
+import org.junit.Test;
+import org.openecomp.portalapp.portal.transport.EpNotificationItemExtVO;
+
+public class EpNotificationItemExtVOTest {
+
+ public EpNotificationItemExtVO mockEpNotificationItemExtVO(){
+ EpNotificationItemExtVO epNotificationItemExtVO = new EpNotificationItemExtVO();
+
+ //epNotificationItemExtVO.setActiveYn("abc");
+ epNotificationItemExtVO.setMsgHeader("test");
+ epNotificationItemExtVO.setMsgDescription("test");
+ epNotificationItemExtVO.setPriority(1);
+ epNotificationItemExtVO.setCreatorId(1);
+ epNotificationItemExtVO.setLoginId("test");
+
+ return epNotificationItemExtVO;
+ }
+
+ @Test
+ public void epNotificationItemExtVOTest(){
+ EpNotificationItemExtVO epNotificationItemExtVO = mockEpNotificationItemExtVO();
+
+ assertEquals(epNotificationItemExtVO.getMsgHeader(), "test");
+ assertEquals(epNotificationItemExtVO.getMsgDescription(), "test");
+ assertEquals(epNotificationItemExtVO.getPriority().toString(), "1");
+ assertEquals(epNotificationItemExtVO.getCreatorId().toString(), "1");
+ assertEquals(epNotificationItemExtVO.getLoginId(), "test");
+ }
+}