@Test
void shouldReturnServersInAllRoutingTables() throws Throwable
{

    // Given
    ConcurrentMap<DatabaseName,RoutingTableHandler> map = new ConcurrentHashMap<>();
    map.put( database( "Apple" ), mockedRoutingTableHandler( A, B, C ) );
    map.put( database( "Banana" ), mockedRoutingTableHandler( B, C, D ) );
    map.put( database( "Orange" ), mockedRoutingTableHandler( E, F, C ) );
    RoutingTableHandlerFactory factory = mockedHandlerFactory();
    RoutingTableRegistryImpl routingTables = new RoutingTableRegistryImpl( map, factory, DEV_NULL_LOGGER );
    // When
    Set<BoltServerAddress> servers = routingTables.allServers();
    // Then
    assertThat( servers, containsInAnyOrder( A, B, C, D, E, F ) );
}