@Test
// There is a potential slot for dead token but we are unable to replace.
public void testNoReplacementNoGossipMatch(@Mocked SystemUtils systemUtils) throws Exception {

    List<PriamInstance> allInstances = getInstances(2);
    List<String> racMembership = getRacMembership(1);
    racMembership.add(instanceInfo.getInstanceId());
    PriamInstance instance = null;
    // gossip info returns null, thus unable to replace the instance.
    new Expectations() {
        {
            factory.getAllIds(anyString);
            result = allInstances;
            membership.getRacMembership();
            result = racMembership;
            SystemUtils.getDataFromUrl(anyString);
            result = getStatus(liveInstances, tokenToEndpointMap);
            times = 1;
        }
    };
    deadTokenRetriever =
            new DeadTokenRetriever(
                    factory, membership, configuration, new FakeSleeper(), instanceInfo);
    PriamInstance priamInstance = deadTokenRetriever.get();
    Assert.assertNull(priamInstance);
    new Verifications() {
        {
            factory.delete(withAny(instance));
            times = 1;
        }
    };
}