@Test
void shouldNotSupportDatabaseNameForAutoCommitTransactions()
{

    ClientException e = assertThrows( ClientException.class,
                                      () -> protocol.runInAutoCommitTransaction( connectionMock( "foo", protocol ),
                                                                                 new Query( "RETURN 1" ), BookmarkHolder.NO_OP, TransactionConfig.empty(),
                                                                                 true, UNLIMITED_FETCH_SIZE ) );
    assertThat( e.getMessage(), startsWith( "Database name parameter for selecting database is not supported" ) );
}