Exemple #1
0
        public void ClientSmartObjectSyncBatchCreateDelete()
        {
            List <SmartObject> objs = TestUtils.CreateObjects(200);

            IEnumerable <Result> objectResult = objectClient.CreateUpdate(objs);

            Assert.AreEqual(objectResult.Count(), 200);

            foreach (SmartObject obj in objs)
            {
                objectClient.Delete(obj.DeviceId);
            }
        }