@Test
public void testExtractManyHostsAndPorts() {

  sc.setProviderConfiguration("host=1.2.3.4:2/5.6.7.8");
  RedisConfiguration configuration = new RedisConfiguration(sc);
  List<HostAndPort> hostsAndPorts = configuration.hostsAndPorts();
  assertEquals(2, hostsAndPorts.size());
  ArrayList<HostAndPort> asList = new ArrayList<>(hostsAndPorts);
  assertEquals("1.2.3.4", asList.get(0).host);
  assertEquals(2, asList.get(0).port);
  assertEquals("5.6.7.8", asList.get(1).host);
  assertEquals(6379, asList.get(1).port);
}