@Test
public void test25getXModuleDefPermission() {

	VXModuleDef vXModuleDef = vxModuleDef();
	Mockito.when(xModuleDefService.readResource(1L)).thenReturn(vXModuleDef);
	VXModuleDef dbMuduleDef = xUserMgr.getXModuleDefPermission(1L);
	Assert.assertNotNull(dbMuduleDef);
	Assert.assertEquals(dbMuduleDef, vXModuleDef);
	Assert.assertEquals(dbMuduleDef.getId(), vXModuleDef.getId());
	Assert.assertEquals(dbMuduleDef.getOwner(), vXModuleDef.getOwner());
	Assert.assertEquals(dbMuduleDef.getUpdatedBy(),vXModuleDef.getUpdatedBy());
	Assert.assertEquals(dbMuduleDef.getUrl(), vXModuleDef.getUrl());
	Assert.assertEquals(dbMuduleDef.getAddedById(),vXModuleDef.getAddedById());
	Assert.assertEquals(dbMuduleDef.getCreateDate(),vXModuleDef.getCreateDate());
	Assert.assertEquals(dbMuduleDef.getCreateTime(),vXModuleDef.getCreateTime());
	Assert.assertEquals(dbMuduleDef.getUserPermList(),vXModuleDef.getUserPermList());
	Assert.assertEquals(dbMuduleDef.getGroupPermList(),vXModuleDef.getGroupPermList());
	Mockito.verify(xModuleDefService).readResource(1L);
}