builder.invocationBatching().disable();
Configuration newConfig = cm.defineConfiguration("new-cache", builder.build());
assert !newConfig.invocationBatching().enabled();
builder = new ConfigurationBuilder();
builder.invocationBatching().enable();
Configuration newConfig2 = cm.defineConfiguration("new-cache", builder.build());
assert newConfig2.invocationBatching().enabled();
assert cm.getCache("new-cache").getCacheConfiguration().invocationBatching().enabled();
}
});