public void Must_have_a_document_store() { // DocumentStores are at the core of RavenDB. // They allow you to access the database instance // of the application. // DocumentStores come in three flavors: // - Remote // - Embedded // - In Memory // This is a RavenDB running in memory var documentStore = new EmbeddableDocumentStore { RunInMemory = true } // You need to initialize your documentstore // after you set the configuration above. .Initialize(); // Remote example // var documentStore = new DocumentStore { // ConnectionStringName = "RavenDb" // }.Initialize(); // Embedded example // var documentStore = new EmbeddableDocumentStore { // ConnectionStringName = "RavenDb" // } documentStore.Should() .NotBeNull(); // remember to dispose your document store // or let the application shutdown dispose it documentStore.Dispose(); }