public RavenDbCacheStoreFixture()
        {
            this.documentStore = A.Fake<IDocumentStore>();
            this.documentSession = A.Fake<IDocumentSession>();
            A.CallTo(() => documentStore.OpenSession()).Returns(this.documentSession);

            this.cacheStore = new RavenDbCacheStore(this.documentStore);
        }
Example #2
0
        public RavenDbCacheStoreFixture()
        {
            this.documentStore   = A.Fake <IDocumentStore>();
            this.documentSession = A.Fake <IDocumentSession>();
            A.CallTo(() => documentStore.OpenSession()).Returns(this.documentSession);

            this.cacheStore = new RavenDbCacheStore(this.documentStore);
        }
 public RavenDbCacheStoreFixture()
 {
     documentStore = new EmbeddableDocumentStore {
         RunInMemory = true
     };
     documentStore.Initialize();
     cacheStore = new RavenDbCacheStore(documentStore);
 }
 public RavenDbCacheStoreFixture()
 {
     documentStore = new EmbeddableDocumentStore { RunInMemory = true };
     documentStore.Initialize();
     cacheStore = new RavenDbCacheStore(documentStore);
 }