public void Should_get_document_as_generic_object()
{
var documents = Database.ClearCollectionAndFetchTestDocumentData(Database.TestDocumentCollectionName);
var db = new ADatabase(Database.Alias);
var getResult = db.Document
.Get<Dummy>(documents[0].ID());
Assert.AreEqual(200, getResult.StatusCode);
Assert.IsTrue(getResult.Success);
Assert.IsTrue(getResult.HasValue);
Assert.AreEqual(documents[0].String("foo"), getResult.Value.Foo);
Assert.AreEqual(documents[0].Int("bar"), getResult.Value.Bar);
Assert.AreEqual(0, getResult.Value.Baz);
}