private When_no_context_Then_should_not_throw ( ) : void | ||
return | void |
public void When_no_context_Then_should_not_throw()
{
using (IDocumentSession session = DocumentStore.OpenSession())
{
var doc = new Doc {Id = "Doc"};
session.Store(doc);
Assert.DoesNotThrow(session.SaveChanges);
}
}