public long getTotalBatchMaxBytes() {
        if (this.produceAccumulator == null) {
            return 0;
        }
        return produceAccumulator.getTotalBatchMaxBytes();
    }
@Test
    public void assertTotalBatchMaxBytes() throws NoSuchFieldException, IllegalAccessException {
        setProduceAccumulator(true);
        assertEquals(0L, producer.getTotalBatchMaxBytes());
    }