1 package org.openecomp.portalapp.portal.transport;
3 import static org.junit.Assert.assertEquals;
6 import org.openecomp.portalapp.portal.transport.EpRoleNotificationItem;
8 public class EpRoleNotificationItemTest {
10 public EpRoleNotificationItem mockEpRoleNotificationItem(){
11 EpRoleNotificationItem epRoleNotificationItem = new EpRoleNotificationItem();
13 epRoleNotificationItem.setId((long)1);
14 epRoleNotificationItem.setNotificationId((long)1);
15 epRoleNotificationItem.setRoleId(1);
16 epRoleNotificationItem.setRecvUserId(1);
18 return epRoleNotificationItem;
22 public void epRoleNotificationItemTest(){
23 EpRoleNotificationItem epRoleNotificationItem = mockEpRoleNotificationItem();
25 assertEquals(epRoleNotificationItem.getId(), new Long(1));
26 assertEquals(epRoleNotificationItem.getNotificationId(), new Long(1));
27 assertEquals(epRoleNotificationItem.getRoleId().toString(), "1");
28 assertEquals(epRoleNotificationItem.getRecvUserId().toString(), "1");