events.add(generateEvent());
monitoringSerivce.putEvents(events);
for (Event event : events) {
EventRowMapper rowMapper = new EventRowMapper();
Event loaded = simpleJdbcTemplate.queryForObject("select * from EVENTS where ID=?", rowMapper, event.getPersistedId());
Assert.assertNotNull(loaded);
Assert.assertEquals(event.getPersistedId(), loaded.getPersistedId());
}