@Test
public void test41getMetricByTypeusergroup() throws Exception{

	VXGroupList vxGroupList = new VXGroupList();
	vxGroupList.setTotalCount(4l);
	vxGroupList.setPageSize(1);
	String type = "usergroup";
	VXUserList vXUserList = new VXUserList();
	vXUserList.setTotalCount(4l);
	Mockito.when(xUserMgr.searchXGroups(Mockito.any(SearchCriteria.class) )).thenReturn(vxGroupList);
	Mockito.when(xUserMgr.searchXUsers(Mockito.any(SearchCriteria.class))).thenReturn(vXUserList);
	serviceDBStore.getMetricByType(type);
	
}