public void testSaveMenuItemServiceProblem() throws Exception {
RESTMenuService restService = new RESTMenuService();
MenuService menuService = EasyMock.createMock(MenuService.class);
HttpServletRequest mockRequest = EasyMock.createMock(HttpServletRequest.class);
EasyMock.expect(mockRequest.isUserInRole(EasyMock.anyObject(String.class))).andReturn(true).times(3);
menuService.saveMenuItem(EasyMock.same("groupName"), EasyMock.anyObject(MenuItemDescription.class));
MenuServiceException exception = new MenuServiceException("Something went wrong");
EasyMock.expectLastCall().andThrow(exception).once();
restService.setMenuService(menuService);
SaveMenuItemDTO dto = new SaveMenuItemDTO();
List<String> allowedEvents = new ArrayList<String>();