@Test
public void test88deleteXPermMap() {

	destroySession();
	setup();
	VXPermMap vXPermMap1=getVXPermMap();
	XXPermMap xXPermMap1=new XXPermMap();
	xXPermMap1.setId(vXPermMap1.getId());
	xXPermMap1.setResourceId(vXPermMap1.getResourceId());
	Mockito.when(restErrorUtil.createRESTException("serverMsg.modelMgrBaseDeleteModel", MessageEnums.OPER_NOT_ALLOWED_FOR_ENTITY)).thenThrow(new WebApplicationException());
	thrown.expect(WebApplicationException.class);
	xUserMgr.deleteXPermMap(vXPermMap1.getId(),false);
}