### Question:
MenuServiceImpl implements MenuService { public void insertMenu(DJMenu menu) { menuDao.inserte(menu); }  void setMenuDao(MenuDao menuDao); void setSystemDao(SystemDao systemDao); DJMenu findMenuByMenuId(Integer id); void insertMenu(DJMenu menu); void updateMenu(DJMenu menu);  }### Answer:
@Test public void testInsertMenu() throws Exception { DJMenu menu = DomainUtil.getMenu(); DJSystem system = DomainUtil.getSystem(); system.id=1; menu.system= system; DJRole role = DomainUtil.getRole(); role.id=2; List<DJRole> roles = new ArrayList<DJRole>(); roles.add(role); menu.roles=roles; menuService.insertMenu(menu); }