public async Task MergeEntityAsync_ExistingEntity_MergesEntityInTable() { ITableServiceClient client = new TableServiceClient(_accountSettings); var tableName = _util.GenerateSampleTableName(); _util.CreateTable(tableName); var sampleEntity = new SampleEntity() { PartitionKey = "1", RowKey = "A", ExtraValue = "Extra" }; _util.InsertTableEntity(tableName, sampleEntity.PartitionKey, sampleEntity.RowKey); await client.MergeEntityAsync(tableName, sampleEntity); _util.AssertEntityExists(tableName, sampleEntity); var entity = _util.GetEntity<SampleMSEntity>(tableName, sampleEntity.PartitionKey, sampleEntity.RowKey); Assert.AreEqual(sampleEntity.ExtraValue, entity.ExtraValue); }