### Question:
RibbonRedisProxyClient { public List<Server> getAllServers() { return ((BaseLoadBalancer) loadBalancer).getAllServers(); } RibbonRedisProxyClient(ILoadBalancer loadBalancer); Jedis callWithRibbon(final Map<String,Pool<Jedis>> poolMap); List<Server> getAllServers(); LoadBalancerStats getLoadBalancerStats(); static Logger logger; }### Answer:
@Test public void getAllServers() { List<Server> serverList= ribbonRedisProxyClient.getAllServers(); assertNotNull(serverList); assertEquals(serverList.size(),2); assertEquals(serverList.get(0).getPort(),8082); assertEquals(serverList.get(1).getPort(),8083); }