private void setRegulatorEnv(double successRate, double failureRate, long limiterRate) {
        when(successMonitor.getRateAndReset()).thenReturn(successRate);
        when(failureMonitor.getRateAndReset()).thenReturn(failureRate);
        when(rateLimiter.currentRate()).thenReturn(limiterRate);
    }
Retrieves a static field value via reflection.
s3stream/src/test/java/com/automq/stream/s3/operator/TrafficRegulatorTest.java