@Test
void shouldThrowModifiedErrorWhenSupportMultiDbTestFails() throws Throwable
{

    Set<BoltServerAddress> unavailableAddresses = asOrderedSet( A, B );
    ConnectionPool connectionPool = newConnectionPoolMockWithFailures( unavailableAddresses );
    Rediscovery rediscovery = mock( Rediscovery.class );
    when( rediscovery.resolve() ).thenReturn( Arrays.asList( A, B ) );
    LoadBalancer loadBalancer = newLoadBalancer( connectionPool, rediscovery );
    ServiceUnavailableException exception = assertThrows( ServiceUnavailableException.class, () -> await( loadBalancer.verifyConnectivity() ) );
    assertThat( exception.getMessage(), startsWith( "Unable to connect to database management service," ) );
}