@Test
// There is no slot available for replacement as per Token Database.
public void testNoReplacementNoSpotAvailable() throws Exception {

    List<PriamInstance> allInstances = getInstances(1);
    List<String> racMembership = getRacMembership(1);
    racMembership.add(instanceInfo.getInstanceId());
    new Expectations() {
        {
            factory.getAllIds(anyString);
            result = allInstances;
            membership.getRacMembership();
            result = racMembership;
        }
    };
    deadTokenRetriever =
            new DeadTokenRetriever(
                    factory, membership, configuration, new FakeSleeper(), instanceInfo);
    PriamInstance priamInstance = deadTokenRetriever.get();
    Assert.assertNull(priamInstance);
    new Verifications() {
        {
            factory.delete(withAny(priamInstance));
            times = 0;
        }
    };
}