TimelyCollectionService implements ITimelyCollectionService { @Override public Map<String, Map<String, Object>> collectData( Map<String, Object> rawdata, DataObjectType operation) { Map<String, Map<String, Object>> data = new HashMap<String, Map<String, Object>>(); switch (operation) { case OPERATION : return packagingOperationData(data, rawdata); case CLUSTER_SNAPSHOT: return collectClusterSnapshotData(data, rawdata); default : return null; } }  @Override Map<String, Map<String, Object>> collectData(
            Map<String, Object> rawdata, DataObjectType operation); @Override Map<String, Map<String, ?>> mergeData(
         Map<String, Map<String, Object>> operationData,
         Map<String, Map<String, Object>> clusterSnapshotData);  }
@Test public void testCollectData() { testOperation(getRowData()); testClusterSnapshot(getRowData()); }