@Test
void shouldReleaseConnectionWhenClose() throws Throwable
{

    Connection connection = connectionMock();
    UnmanagedTransaction tx = new UnmanagedTransaction( connection, new DefaultBookmarkHolder(), UNLIMITED_FETCH_SIZE );
    await( tx.closeAsync() );
    verify( connection ).release();
}