public void TestSaveAndDeleteWithAclSync() { Task.Run(async() => { var message = "Hello, world"; var item = new NCMBObject("DataStoreTest"); item.Set("message", message); var acl = new NCMBAcl(); acl.SetPublicReadAccess(true); acl.SetPublicWriteAccess(false); acl.SetRoleReadAccess("admin", true); acl.SetRoleWriteAccess("admin", true); item.SetAcl(acl); await item.Save(); Assert.NotNull(item.Get("objectId")); Assert.AreEqual(item.Get("message").ToString(), message); }).GetAwaiter().GetResult(); }