private void verifyCCP() {
    await().untilAsserted(() -> assertThat(cache.getCacheServers()).hasSize(1));

    CacheServerImpl cacheServer = (CacheServerImpl) cache.getCacheServers().iterator().next();
    assertThat(cacheServer).isNotNull();
    assertThat(cacheServer.getAcceptor()).isNotNull();
    assertThat(cacheServer.getAcceptor().getCacheClientNotifier()).isNotNull();

    CacheClientNotifier cacheClientNotifier =
        cacheServer.getAcceptor().getCacheClientNotifier();
    await().untilAsserted(() -> assertThat(cacheClientNotifier.getClientProxies()).hasSize(1));
  }
This tests failing of a primary server in a situation where only one of the rest of the servers
is redundant. After every failure, the order, the dispatcher, the interest registration and the
makePrimary calls are verified. The failure detection in these tests could be either through
CCU or cache operation, whichever occurs first
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/RedundancyLevelPart3DUnitTest.java