@Test
public void shouldNotParseReplicaSetName() {

    assertThat(MongoUtil.replicaSetUsedIn("")).isNull();
    assertThat(MongoUtil.replicaSetUsedIn("localhost")).isNull();
    assertThat(MongoUtil.replicaSetUsedIn("[::1/128]")).isNull();
}