/// <exception cref="Couchbase.Lite.CouchbaseLiteException"></exception> public virtual void TestNewDocumentHasCurrentRevision() { Document document = database.CreateDocument(); IDictionary <string, object> properties = new Dictionary <string, object>(); properties["foo"] = "foo"; properties["bar"] = false; document.PutProperties(properties); NUnit.Framework.Assert.IsNotNull(document.CurrentRevisionId()); NUnit.Framework.Assert.IsNotNull(document.CurrentRevision); }