@Test
public void shouldNotParseServerAddressesWithReplicaSetNameAndNoAddress() {

    addresses = MongoUtil.parseAddresses("replicaSetName/");
    assertThat(addresses.size()).isEqualTo(1);
    assertThat(addresses.get(0).getHost()).isEqualTo(ServerAddress.defaultHost());
    assertThat(addresses.get(0).getPort()).isEqualTo(ServerAddress.defaultPort());
}