@BeforeEach
    void setUp() {
        successMonitor = mock(TrafficMonitor.class);
        failureMonitor = mock(TrafficMonitor.class);
        rateLimiter = mock(TrafficRateLimiter.class);
        volumeLimiter = mock(TrafficVolumeLimiter.class);
        logger = mock(Logger.class);
        regulator = new TrafficRegulator("testOperation", successMonitor, failureMonitor, rateLimiter, volumeLimiter, logger);
    }
Converts a rate given in KB/s to bytes/s.
s3stream/src/test/java/com/automq/stream/s3/operator/TrafficRegulatorTest.java