public void Can_Remove_Data_From_A_Map() { string key = Guid.NewGuid().ToString(); MapResponse r = SaveMap(key); var mapOp = new UpdateMap.MapOperation(); mapOp.RemoveCounter("counter_1"); var update = new UpdateMap.Builder(mapOp) .WithBucketType(BucketType) .WithBucket(Bucket) .WithKey(key) .WithContext(r.Context) .WithReturnBody(true) .WithTimeout(TimeSpan.FromMilliseconds(20000)) .Build(); RiakResult rslt = client.Execute(update); Assert.IsTrue(rslt.IsSuccess, rslt.ErrorMessage); MapResponse response = update.Response; Assert.False(response.Value.Counters.ContainsKey("counter_1")); }