Exemplo n.º 1
0
        public void PutIfMatchSuccessAsync()
        {
            var match = _orchestrate.Get(CollectionName, "1");
            var item  = new TestData {
                Id = 1, Value = "New and improved value!"
            };

            var result = _orchestrate.PutIfMatchAsync(CollectionName, "1", item, match.Path.Ref).Result;

            Assert.IsTrue(result.Value == null || result.Value.ToString() == string.Empty);
        }