@Test
public void test79deleteXModuleDefPermission() {

	HttpServletRequest request = Mockito.mock(HttpServletRequest.class);
	
	boolean forceDelete = true;
	Mockito.doNothing().when(xUserMgr).checkAdminAccess();
	Mockito.doNothing().when(xUserMgr).deleteXModuleDefPermission(id, forceDelete);
	xUserRest.deleteXModuleDefPermission(id,request);
	Mockito.verify(xUserMgr).deleteXModuleDefPermission(id,forceDelete);
	Mockito.verify(xUserMgr).checkAdminAccess();
	
}