public class LuceneEditorTest implements LuceneIndexConstants {
@Test
public void testLucene() throws Exception {
IndexDefinition testID = new IndexDefinitionImpl(DEFAULT_INDEX_NAME,
TYPE, DEFAULT_INDEX_HOME, false, null);
KernelNodeStore store = new KernelNodeStore(new MicroKernelImpl());
store.setHook(new LuceneEditor(testID));
Root root = new RootImpl(store, null, new Subject());