1 package org.openecomp.portalapp.portal.domain;
3 import static org.junit.Assert.*;
6 import org.openecomp.portalapp.portal.domain.FunctionalMenuItemWithAppID;
8 public class FunctionalMenuItemWithAppIDTest {
10 public FunctionalMenuItemWithAppID mockFunctionalMenuItemWithAppID(){
11 FunctionalMenuItemWithAppID functionalMenuItemWithAppID = new FunctionalMenuItemWithAppID();
13 functionalMenuItemWithAppID.setRestrictedApp(false);
14 functionalMenuItemWithAppID.setUrl("test");
17 return functionalMenuItemWithAppID;
21 public void functionalMenuItemWithAppIDTest(){
22 FunctionalMenuItemWithAppID functionalMenuItemWithAppID = mockFunctionalMenuItemWithAppID();
24 assertEquals(functionalMenuItemWithAppID.toString(), "FunctionalMenuItem [menuId=null, column=null, text=null, parentMenuId=null, url=test, active_yn=null, appid=null, roles=null, restrictedApp=false]");