@Test
public void test1postUpdate() {

        Mockito.when(daoMgr.getXXPortalUser()).thenReturn(xXPortalUserDao);
        Mockito.when(daoMgr.getXXTagDef()).thenReturn(xXTagDefDao);
        Mockito.when(xXTagDefDao.getById(xXTag.getType())).thenReturn(xXTagDef);
        Mockito.when(daoMgr.getXXServiceVersionInfo()).thenReturn(xXServiceVersionInfoDao);
        rangerTagService.postUpdate(xXTag);
}