@Test
public void test29getXUserPermission() {

	VXUserPermission vXUserPermission = vxUserPermission();
	Mockito.when(xUserPermissionService.readResource(1L)).thenReturn(vXUserPermission);
	VXUserPermission dbUserPermission = xUserMgr.getXUserPermission(1L);
	Assert.assertNotNull(dbUserPermission);
	Assert.assertEquals(dbUserPermission, vXUserPermission);
	Assert.assertEquals(dbUserPermission.getId(), vXUserPermission.getId());
	Assert.assertEquals(dbUserPermission.getOwner(),vXUserPermission.getOwner());
	Assert.assertEquals(dbUserPermission.getUpdatedBy(),vXUserPermission.getUpdatedBy());
	Assert.assertEquals(dbUserPermission.getUserName(),vXUserPermission.getUserName());
	Assert.assertEquals(dbUserPermission.getCreateDate(),vXUserPermission.getCreateDate());
	Assert.assertEquals(dbUserPermission.getIsAllowed(),vXUserPermission.getIsAllowed());
	Assert.assertEquals(dbUserPermission.getModuleId(),vXUserPermission.getModuleId());
	Assert.assertEquals(dbUserPermission.getUpdateDate(),vXUserPermission.getUpdateDate());
	Assert.assertEquals(dbUserPermission.getUserId(),vXUserPermission.getUserId());
	Mockito.verify(xUserPermissionService).readResource(1L);
}