@Test(groups = "unit", testName = "query.config.QueryParsingTest")
public class DefaultCacheInheritancePreventedTest {
@Test
public void verifyIndexDisabledCorrectly() throws IOException {
withCacheManager(new CacheManagerCallable(
TestCacheManagerFactory.fromXml("configuration-parsing-test-enbledInDefault.xml")) {
@Override
public void call() {
assertIndexingEnabled(cm.getCache(), true, QueryInterceptor.class);
assertIndexingEnabled(cm.getCache("simple"), true, QueryInterceptor.class);