Beispiel #1
0
        public void ClientSmartObjectSyncCreateFullObjectUpdateDelete()
        {
            Owner       owner = TestUtils.CreateBasicOwner();
            SmartObject obj   = TestUtils.CreateFullObject(owner.Username);

            client.Owners.Create(owner);
            objectClient.Create(obj);

            objectClient.Update(TestUtils.CreateObjectUpdateAttribute(), obj.DeviceId);

            client.Owners.Delete(owner.Username);
            objectClient.Delete(obj.DeviceId);
        }