final MonitoringDataAccesor monitoringDataAccesor = new MonitoringDataAccesor(monitoringDataStorage);
final MonitoringDataAdder monitoringDataAdder = new MonitoringDataAdder(monitoringDataStorage);
final AdapterWfLaunchInfo adapterWfLaunch = new AdapterWfLaunchInfo();
adapterWfLaunch.setTimestamp(new Date());
monitoringDataAdder.addMonitoringData(adapterWfLaunch);
final LogEvent logEvent = new LogEvent();
logEvent.setTime(new Date());
monitoringDataAdder.addMonitoringData(logEvent);
assertEquals(1, monitoringDataAccesor.getList(new TypeFilter<AdapterWfLaunchInfo>(AdapterWfLaunchInfo.class), null, null, 1000).size());
assertEquals(1, monitoringDataAccesor.getList(new TypeFilter<LogEvent>(LogEvent.class), null, null, 1000).size());
}