@Test
  public void testForTwoRegionHavingDifferentInterestList() {
    // start server first
    PORT1 = initServerCache(true);
    int serverPort = PORT1;
    VM client1 = Host.getHost(0).getVM(clientVmConfiguration, 1);
    String hostname = NetworkUtils.getServerHostName();
    client1.invoke("create client1 cache", () -> {
      createClientCache(hostname, serverPort);
      populateCache();
      registerInterest();
    });

    server1.invoke("putting entries in server1", ClientServerMiscDUnitTestBase::put);

    client1.invoke(ClientServerMiscDUnitTestBase::verifyUpdates);
  }
Test two regions: notify by subscription is true. For region1 the interest list is empty , for
region 2 the intetest list is all keys. If an update/create is made on region1 , the client
should not receive any. If the create/update is on region2 , the client should receive the
update.
geode-dunit/src/main/java/org/apache/geode/internal/cache/tier/sockets/ClientServerMiscDUnitTestBase.java