public void setBatchSize(int batchSize) {
        this.batchSize = checkPositive(batchSize, "batchSize");
    }
@Test
    public void test_setBatchSize_whenNegative() {
        ReactorBuilder builder = newBuilder();
        assertThrows(IllegalArgumentException.class, () -> builder.setBatchSize(-1));
    }