@Test(groups = "unit", expectedExceptions = GoneException.class)
public void getPrimaryUri_NoAddress() throws Exception {

    RxDocumentServiceRequest request = Mockito.mock(RxDocumentServiceRequest.class);
    Mockito.doReturn(null).when(request).getDefaultReplicaIndex();
    List<AddressInformation>  replicaAddresses = new ArrayList<>();
    AddressSelector.getPrimaryUri(request, replicaAddresses);
}