public void Should_delete_document_with_waitForSync()
{
var documents = Database.ClearCollectionAndFetchTestDocumentData(Database.TestDocumentCollectionName);
var db = new ADatabase(Database.Alias);
var deleteResult = db.Document
.WaitForSync(true)
.Delete(documents[0].ID());
Assert.AreEqual(200, deleteResult.StatusCode);
Assert.IsTrue(deleteResult.Success);
Assert.IsTrue(deleteResult.HasValue);
Assert.AreEqual(deleteResult.Value.ID(), documents[0].ID());
Assert.AreEqual(deleteResult.Value.Key(), documents[0].Key());
Assert.AreEqual(deleteResult.Value.Rev(), documents[0].Rev());
}