@Test(groups = SMALL)
public void testConnectCreatesNewConnectionIfConnectionIsNotAlive() throws SQLException {

    doThrow(new SQLException()).when(mockedConnection).createStatement();
    assertFalse(eventSource.isConnected());
}