@Test public void canDecreaseAndIncreaseConfigWithMixOfValues() { configWithValues(1000, 1, 100); whenDecreasingTheMultiplier_thenAdjustedConfigValuesDecrease(); whenIncreasingTheMultiplier_thenAdjustedConfigValuesIncrease(); assertThat(AdjustableSweepBatchConfigSource.getBatchSizeMultiplier()).isEqualTo(1.0); }
public static double getBatchSizeMultiplier() { return batchSizeMultiplier; }
AdjustableSweepBatchConfigSource { public static double getBatchSizeMultiplier() { return batchSizeMultiplier; } }
AdjustableSweepBatchConfigSource { public static double getBatchSizeMultiplier() { return batchSizeMultiplier; } private  AdjustableSweepBatchConfigSource(Supplier<SweepBatchConfig> rawSweepBatchConfig); }
AdjustableSweepBatchConfigSource { public static double getBatchSizeMultiplier() { return batchSizeMultiplier; } private  AdjustableSweepBatchConfigSource(Supplier<SweepBatchConfig> rawSweepBatchConfig); static AdjustableSweepBatchConfigSource create(
            MetricsManager metricsManager,
            Supplier<SweepBatchConfig> rawSweepBatchConfig); SweepBatchConfig getRawSweepConfig(); static double getBatchSizeMultiplier(); SweepBatchConfig getAdjustedSweepConfig(); void increaseMultiplier(); void decreaseMultiplier(); }
AdjustableSweepBatchConfigSource { public static double getBatchSizeMultiplier() { return batchSizeMultiplier; } private  AdjustableSweepBatchConfigSource(Supplier<SweepBatchConfig> rawSweepBatchConfig); static AdjustableSweepBatchConfigSource create(
            MetricsManager metricsManager,
            Supplier<SweepBatchConfig> rawSweepBatchConfig); SweepBatchConfig getRawSweepConfig(); static double getBatchSizeMultiplier(); SweepBatchConfig getAdjustedSweepConfig(); void increaseMultiplier(); void decreaseMultiplier();  }