@Override
      public Object answer(InvocationOnMock invocation) throws Throwable {
        return --mockRefCount;
      }
This tests whether the messageSyncInterval for QueueRemovalThread is refreshed properly when
set/updated using cache's setter API
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/ha/HARegionQueueJUnitTest.java