public void FullTextConfigSerializeIndexLuceneRAM() { RAMDirectory directory = new RAMDirectory(); ConfigurationSerializationContext context = new ConfigurationSerializationContext(); INode obj = context.Graph.CreateBlankNode(); context.NextSubject = obj; directory.SerializeConfiguration(context); TestTools.ShowGraph(context.Graph); ConfigurationLoader.AutoConfigureObjectFactories(context.Graph); Object temp = ConfigurationLoader.LoadObject(context.Graph, obj); Assert.IsTrue(temp is RAMDirectory, "Should have returned a RAMDirectory instance"); Assert.IsTrue(temp is Directory, "Should have returned a Directory instance"); }