public async Task AddMetadataAsync_CloudBlobGiven_MetaDataSet() { Dictionary <string, string> dictionary = new Dictionary <string, string> { { "meta_property", "meta_value" } }; _cloudBlob.Setup(_ => _.Metadata).Returns(new Dictionary <string, string>()); await _blobClient.AddMetadataAsync(_cloudBlob.Object, dictionary); _cloudBlob.Verify(_ => _.SetMetadataAsync()); _cloudBlob.Object .Metadata .Should() .BeEquivalentTo(dictionary); }