@Test
public void multipleHostsTest() throws ConnectionException {

    Map<String, String> properties = new HashMap<String, String>();
    properties.put(HOST.getOptionName(), SERVER_IP_LIST);
    properties.put(PORT.getOptionName(), SERVER_PORT_LIST);
    ConnectorClusterConfig wrongConfig = new ConnectorClusterConfig(CLUSTER_NAME, null, properties);
    MongoClientConfiguration config = new MongoClientConfiguration(wrongConfig);
    assertTrue("There must be 2 seeds", config.getSeeds().size() == 2);
    assertEquals("The port is not the expected", 2700, config.getSeeds().get(0).getPort());
    assertEquals("The port is not the expected", 2701, config.getSeeds().get(1).getPort());
}