@Test
public void test54createXAuditMapVxResourceNull() {

	VXAuditMap testvXAuditMap =  createVXAuditMapObj();
	testvXAuditMap.setResourceId(null);
	
	Mockito.when(xResourceService.readResource(testvXAuditMap.getResourceId())).thenReturn(null);
	Mockito.when(restErrorUtil.createRESTException(Mockito.anyString(), (MessageEnums)Mockito.any())).thenThrow(new WebApplicationException());
	thrown.expect(WebApplicationException.class);
	
	VXAuditMap retvXAuditMap= xUserRest.createXAuditMap(testvXAuditMap);
	assertEquals(testvXAuditMap.getId(),retvXAuditMap.getId());
	assertEquals(testvXAuditMap.getClass(),retvXAuditMap.getClass());
	assertNotNull(retvXAuditMap);
	
	Mockito.verify(xUserMgr).createXAuditMap(testvXAuditMap);
	Mockito.verify(xResourceService).readResource(testvXAuditMap.getResourceId());
	Mockito.verify(restErrorUtil.createRESTException(Mockito.anyString(), (MessageEnums)Mockito.any()));
	
}