public QueryCacheConfig setBatchSize(int batchSize) {
        this.batchSize = checkPositive("batchSize", batchSize);
        return this;
    }
@Test(expected = IllegalArgumentException.class)
    public void testSetBatchSize_throwsException_whenNotPositive() {
        QueryCacheConfig config = new QueryCacheConfig();
        config.setBatchSize(-1);
    }