@Test(groups = { "unit" })

public void incompleteRoutingMap() {
    InMemoryCollectionRoutingMap routingMap = InMemoryCollectionRoutingMap
            .tryCreateCompleteRoutingMap(Arrays.asList(
                    new ImmutablePair<>(new PartitionKeyRange("2", "", "0000000030"),
                                        ServerIdentityImp.of(2)),
                    new ImmutablePair<>(new PartitionKeyRange("3", "0000000031", "FF"),
                                        ServerIdentityImp.of(2))),
                    StringUtils.EMPTY);
    assertThat(routingMap).isNull();
    routingMap = InMemoryCollectionRoutingMap.tryCreateCompleteRoutingMap(Arrays.asList(
            new ImmutablePair<>(new PartitionKeyRange("2", "", "0000000030"), ServerIdentityImp.of(2)),
            new ImmutablePair<>(new PartitionKeyRange("3", "0000000030", "FF"), ServerIdentityImp.of(2))),
            StringUtils.EMPTY);
    assertThat(routingMap).isNotNull();
}