@Test
public void test2GetPopulatedViewObject() {

        Mockito.when(daoMgr.getXXPortalUser()).thenReturn(xXPortalUserDao);
        Mockito.when(daoMgr.getXXTagDef()).thenReturn(xXTagDefDao);
        XXTag xXTag = createXXTag();
        Mockito.when(xXTagDefDao.getById(1L)).thenReturn(xXTagDef);
        rangerTagService.getPopulatedViewObject(xXTag);
}