@Test(groups = INTEGRATION)
public void testInsertingNotPersistedListenerDoesNotUpdateIdButReturnsPersistedListener() {

    Listener listener = new Listener(TABLE_NAME, WAIT_IN_SEC);
    Listener persistedListener = repo.insert(listener, connection);
    assertEquals(listener.getId(), 0L);
    assertNotEquals(persistedListener.getId(), 0L);
}