PartitionedRegionRedundancyTracker { synchronized void decrementLowRedundancyBucketCount() { if (lowRedundancyBuckets == 0) { return; } lowRedundancyBuckets--; stats.incLowRedundancyBucketCount(-1); if (lowRedundancyBuckets == 0) { lowestBucketCopies = targetRedundancy + 1; logger.info("Configured redundancy of " + (targetRedundancy + 1) + " copies has been restored to " + regionPath); } } PartitionedRegionRedundancyTracker(int totalBuckets, int redundantCopies,
      PartitionedRegionStats stats, String regionPath); int getActualRedundancy();  }
@Test public void willNotDecrementLowRedundancyBucketCountBelowZero() { redundancyTracker.decrementLowRedundancyBucketCount(); verifyNoMoreInteractions(stats); }