@Test
public void returnsARemoteReplicaGivenStringURIOnConfigWithRemoteReplicaWithSameURI() throws Exception {

  HttpClusterConfig clusterConfig = new HttpClusterConfig(replica, otherReplica);
  assertThat(clusterConfig.getReplica("http://foo:1235")).isEqualTo(otherReplica);
}