@Test
void shouldBeginTransactionWithBookmarks()
{

    Connection connection = connectionMock( protocol );
    Bookmark bookmark = InternalBookmark.parse( "neo4j:bookmark:v1:tx100" );
    CompletionStage<Void> stage = protocol.beginTransaction( connection, bookmark, TransactionConfig.empty() );
    verify( connection ).writeAndFlush( eq( new BeginMessage( bookmark, TransactionConfig.empty(), defaultDatabase(), WRITE ) ), any( BeginTxResponseHandler.class ) );
    assertNull( await( stage ) );
}