public void verifyInfinispanDirectoryOptions() throws IOException, IllegalArgumentException, IllegalAccessException, SecurityException, NoSuchFieldException {
EmbeddedCacheManager embeddedCacheManager = TestCacheManagerFactory.fromXml("nrt-performance-writer-infinispandirectory.xml");
try {
SearchFactoryImplementor si = extractSearchFactoryImplementor(embeddedCacheManager);
NRTIndexManager nrti = verifyShardingOptions(si, 6);
verifyIndexWriterOptions(nrti, 64, 1024, 30);
verifyUsesInfinispanDirectory(nrti, 128000, embeddedCacheManager);
//Make sure to close the Indexed cache before those storing the index:
embeddedCacheManager.getCache("Indexed").stop();
}