public static void AssertProfileUpdate(ProfileResource updatedProfile, string key, string value) { Assert.GreaterOrEqual(updatedProfile.Data.Tags.Count, 1); Assert.IsTrue(updatedProfile.Data.Tags.ContainsKey(key)); Assert.AreEqual(updatedProfile.Data.Tags[key], value); }