@Test
public void returnsLocalReplicaGivenStringURIOnConfigWithLocalReplicaWithSameURI() throws Exception {

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