@Test
  public void testCMRNotCreatedForNoneEvictionPolicy() throws Exception {
    serverVM0.invoke(HARQueueNewImplDistributedTest::closeCache);
    serverVM1.invoke(HARQueueNewImplDistributedTest::closeCache);
    Thread.sleep(2000);
    PORT1 = serverVM0.invoke(
        () -> HARQueueNewImplDistributedTest
            .createServerCache(HARegionQueue.HA_EVICTION_POLICY_NONE));
    PORT2 = serverVM1.invoke(
        () -> HARQueueNewImplDistributedTest
            .createServerCache(HARegionQueue.HA_EVICTION_POLICY_NONE));
    Boolean isRegion = Boolean.FALSE;
    // slow start for dispatcher
    serverVM0.invoke(() -> ConflationDistributedTestHelper.setIsSlowStart("30000"));

    createClientCache(getServerHostName(), PORT1, PORT2,
        "1");
    final String client1Host = getServerHostName();
    clientVM1.invoke(() -> HARQueueNewImplDistributedTest.createClientCache(client1Host,
        PORT1, PORT2, "1"));
    final String client2Host = getServerHostName();
    clientVM2.invoke(() -> HARQueueNewImplDistributedTest.createClientCache(client2Host,
        PORT1, PORT2, "1"));

    registerInterestListAll();
    clientVM1.invoke(HARQueueNewImplDistributedTest::registerInterestList);
    clientVM2.invoke(HARQueueNewImplDistributedTest::registerInterestList);

    serverVM0
        .invoke(() -> HARQueueNewImplDistributedTest.verifyHaContainerType(isRegion, PORT1));
    serverVM1
        .invoke(() -> HARQueueNewImplDistributedTest.verifyHaContainerType(isRegion, PORT2));

    serverVM0.invoke(() -> HARQueueNewImplDistributedTest.stopOneBridgeServer(PORT1));
    serverVM1.invoke(() -> HARQueueNewImplDistributedTest.stopOneBridgeServer(PORT2));

    serverVM0.invoke(
        () -> HARQueueNewImplDistributedTest.verifyHaContainerDestroyed(isRegion, PORT1));
    serverVM1.invoke(
        () -> HARQueueNewImplDistributedTest.verifyHaContainerDestroyed(isRegion, PORT2));
  }
This test verifies that client-messages-regions are not created for the cache servers who have
eviction policy as 'none'. Instead, such cache servers will have simple HashMap structures.
Also, it verifies that such a structure (referred to as haContainer, in general) is destroyed
when its cache server is stopped.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/ha/HARQueueNewImplDistributedTest.java