PeriodCollectionService implements IPeriodCollectionService { @Override public Map<String, Map<String, ?>> collectData(DataObjectType dataObjectType) { Map<String, Map<String, ?>> data = new HashMap<String, Map<String, ?>> (); switch(dataObjectType) { case FOOTPRINT: Map<String, Object> footPrintData = getFootprintData(); data.put(dataObjectType.getName(), footPrintData); break; case ENVIRONMENTAL_INFORMATION: Map<String, Object> environmentalInfoData = getEnvironmentalInfo(); data.put(dataObjectType.getName(), environmentalInfoData); break; case COMMONREPORTS: Map<String, Object> commonReportsData = getCommonReportsData(); data.put(dataObjectType.getName(), commonReportsData); break; default: } return Collections.unmodifiableMap(data); }  @Override Map<String, Map<String, ?>> collectData(DataObjectType dataObjectType); ICollectionInitializerService getCollectionInitializerService(); void setCollectionInitializerService(
         ICollectionInitializerService collectionInitializerService);  }
@Test(groups = { "TestPeriodCollectionService" }) public void testCollectData() throws ParseException { testCollectFootPrintData(); testCollectEnvironmentalInfo(); testCommonReportsData(); }