@Test(groups = INTEGRATION)
public void testUpdatesTheListenerLastCheckDate() throws SQLException, InterruptedException {

    Date initialLastCheck = listener.getLastCheck();
    Thread.sleep(1000L);
    repo.getNewEventsForListener(listener, connection);
    assertTrue(initialLastCheck.before(listener.getLastCheck()));
}