@Test
  public void testQueueAddOperationWithConflation() throws Exception {
    logWriter.info("HARegionQueueJUnitTest : testQueueAddOperationWithConflation BEGIN");
    rq = createHARegionQueue("testQueueAddOperationWithConflation");
    EventID id1 = new EventID(new byte[] {1}, 1, 1);
    EventID id2 = new EventID(new byte[] {1}, 1, 2);
    ConflatableObject c1 = new ConflatableObject(KEY1, VALUE1, id1, true, "region1");
    ConflatableObject c2 = new ConflatableObject(KEY1, VALUE2, id2, true, "region1");
    rq.put(c1);
    rq.put(c2);
    Map conflationMap = (Map) rq.getConflationMapForTesting().get("region1");
    assertEquals(1, conflationMap.size());
    Long cntr = (Long) conflationMap.get(KEY1);
    ConflatableObject retValue = (ConflatableObject) rq.getRegion().get(cntr);
    assertEquals(VALUE2, retValue.getValueToConflate());
    assertEquals(1, rq.getAvailableIds().size());

    assertEquals(1, rq.getCurrentCounterSet(id1).size());
    logWriter.info("HARegionQueueJUnitTest : testQueueAddOperationWithConflation END");
  }
Add operation with conflation : 1) Add Key1 Val1 & then Key1 Val2. 2) At the end of second
operation , Region should contain the entry correspodning to value 2 3) Available IDs , Last
DispatchedWrapper Set & Conflation Map should have size 1. 4) Conflation Map ,
LastDispatchedWrapper Set & Available IDs should have counter corresponding to second operation
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/ha/HARQAddOperationJUnitTest.java