@Test
void shouldUseMultiDBProcedureRunnerWhenConnectingWith40Server() throws Throwable
{

    MultiDatabasesRoutingProcedureRunner procedureRunner = newMultiDBProcedureRunnerMock();
    Connection connection = mock( Connection.class );
    RoutingProcedureClusterCompositionProvider provider =
            newClusterCompositionProvider( procedureRunner, connection );
    when( procedureRunner.run( eq( connection ), any( DatabaseName.class ), any(InternalBookmark.class ) ) ).thenReturn( completedWithNull() );
    provider.getClusterComposition( connection, defaultDatabase(), empty() );
    verify( procedureRunner ).run( eq( connection ), any( DatabaseName.class ), any( InternalBookmark.class ) );
}