@Test
  public void testSizerImplementationofMemCapacityControllerWhenNotificationBySubscriptionIsTrue() {

    Integer port1 = serverVM
        .invoke(() -> HAOverflowMemObjectSizerDistributedTest.createCacheServer(Boolean.TRUE));
    serverPort1 = port1;
    serverVM.invoke(() -> ConflationDistributedTestHelper.setIsSlowStart("15000"));

    client.invoke(() -> HAOverflowMemObjectSizerDistributedTest.createCacheClient(port1,
        NetworkUtils.getServerHostName(client.getHost())));

    serverVM
        .invoke(() -> HAOverflowMemObjectSizerDistributedTest.performPut(0L, 100L));
    serverVM.invoke(
        () -> HAOverflowMemObjectSizerDistributedTest
            .sizerTestForMemCapacityController(serverPort1));
  }
This test does the following :<br>
Configuration: notification by subscription is <b>true </b><br>
1)Verify size calculated by getSizeInByte() of ClientUpdateMessagesImpl is equal to the size
calculated by memCapacity controller <br>
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/HAOverflowMemObjectSizerDistributedTest.java