assertNotNull( collection);
agentNewDetailsMap = agentDetailsService.getUniqueAgentDetails(collection);
assertNotNull(agentNewDetailsMap);
ultimateList = agentDetailsService.replaceAgentIDWithDetails(collection,agentNewDetailsMap);
assertNotNull( ultimateList);
Map<AgentDetailsFileKeys, Object> agentFileArgMap = new HashMap<AgentDetailsFileKeys, Object>();
agentFileArgMap.put( AgentDetailsFileKeys.AGENT_DETAILS_LIST, ultimateList);