### Question:
RibbonRedisProxyClient { public LoadBalancerStats getLoadBalancerStats() { return ((BaseLoadBalancer) loadBalancer).getLoadBalancerStats(); } RibbonRedisProxyClient(ILoadBalancer loadBalancer); Jedis callWithRibbon(final Map<String,Pool<Jedis>> poolMap); List<Server> getAllServers(); LoadBalancerStats getLoadBalancerStats(); static Logger logger; }### Answer:
@Test public void getLoadBalancerStats() { LoadBalancerStats loadBalancerStats= ribbonRedisProxyClient.getLoadBalancerStats(); assertNotNull(loadBalancerStats); List<Server> serverList= ribbonRedisProxyClient.getAllServers(); for(Server server : serverList) { ServerStats serverStats = loadBalancerStats.getSingleServerStat(server); assertNotNull(serverStats); logger.info("serverStats: " + serverStats); logger.info("server: " + server.toString()); logger.info("isCircuitBreakerTripped: " + serverStats.isCircuitBreakerTripped()); } }