expectedExceptionsMessageRegExp = "ISPN(\\d)*: Lucene Directory for index '" + INDEX_NAME +
"' can not use Metadata Cache '" + CACHE_NAME + "': persistence enabled without preload on the Cache " +
"configuration!")
public void testFailOnPersistenceWithoutPreload() {
ConfigurationBuilder builder = new ConfigurationBuilder();
builder.persistence().addStore(DummyInMemoryStoreConfigurationBuilder.class).preload(false);
doConfigurationTest(builder);
}
public void testSuccessfullConfiguration() {
ConfigurationBuilder builder = new ConfigurationBuilder();