public async Task ShouldGetDocumentById()
{
int circleId;
using (var session = _store.CreateSession())
{
var circle = new Circle
{
Radius = 10
};
session.Save(circle);
await session.CommitAsync();
circleId = circle.Id;
}
using (var session = _store.CreateSession())
{
var circle = await session.GetAsync<Circle>(circleId);
Assert.NotNull(circle);
}
}