public ReliableTopicConfig setReadBatchSize(int readBatchSize) {
        this.readBatchSize = checkPositive("readBatchSize", readBatchSize);
        return this;
    }
@Test(expected = IllegalArgumentException.class)
    public void setReadBatchSize_whenNegative() {
        ReliableTopicConfig config = new ReliableTopicConfig("foo");
        config.setReadBatchSize(-1);
    }