@Test
    void closeOnCircuitBreaker() {
        OriginName originName = OriginName.fromVipAndApp("whatever", "whatever");
        DefaultClientChannelManager manager =
                new DefaultClientChannelManager(
                        originName,
                        new DefaultClientConfigImpl(),
                        Mockito.mock(DynamicServerResolver.class),
                        new NoopRegistry()) {
                    @Override
                    protected void updateServerStatsOnRelease(PooledConnection conn) {}
                };

        PooledConnection connection = mock(PooledConnection.class);
        DiscoveryResult discoveryResult = mock(DiscoveryResult.class);
        doReturn(discoveryResult).when(connection).getServer();
        doReturn(true).when(discoveryResult).isCircuitBreakerTripped();
        doReturn(new EmbeddedChannel()).when(connection).getChannel();

        Truth.assertThat(manager.release(connection)).isFalse();
        verify(connection).setInPool(false);
        verify(connection).close();
    }
Tests for {@link DefaultClientChannelManager}.  These tests don't use IPv6 addresses because {@link InstanceInfo} is
not capable of expressing them.
zuul-core/src/test/java/com/netflix/zuul/netty/connectionpool/DefaultClientChannelManagerTest.java