throw new RuntimeException(e);
}
final MonitoringDataAdder monitoringDataAdder = new MonitoringDataAdder(monitoringDataStorage);
final MonitoringDataAccesor monitoringDataAccesor = new MonitoringDataAccesor(monitoringDataStorage);
final AdapterWfLaunchInfo adapterWfLaunch = new AdapterWfLaunchInfo();
adapterWfLaunch.setAdapterName("abc");
adapterWfLaunch.setTimestamp(new Date());
monitoringDataAdder.addMonitoringData(adapterWfLaunch);
assertEquals(1, monitoringDataAccesor.getList(new TypeFilter<AdapterWfLaunchInfo>(AdapterWfLaunchInfo.class), null, null, 1000).size());
}