public void should_return_record_in_result()
{
// so we can pass the possibly modified record back to the client
// without an unnecessary fetch from the database
var database = Mock.Of<IDocumentSession>();
var service = new RecordService(database, ValidatorStub());
var record = BasicRecord();
var result = service.Upsert(record);
result.Record.Should().Be(record);
}