Beispiel #1
0
 public void CanGetOrCreateVoteResultCollection()
 {
     using (var store = NewDocumentStore())
     {
         using (var session = store.OpenSession())
         {
             var collection = new VoteResultCollectionHelper(session).GetOrCreateVoteResultCollection("entities/1");
             Assert.NotNull(collection);
         }
     }
 }
Beispiel #2
0
 public void CanGetOrCreateVoteResultCollection()
 {
     using (var store = NewDocumentStore())
     {
         using (var session = store.OpenSession())
         {
             var collection = new VoteResultCollectionHelper(session).GetOrCreateVoteResultCollection("entities/1");
             Assert.NotNull(collection);
         }
     }
 }