public async Task UpdateExistingProfile()
        {
            var profile = CreateRandomProfile();

            await AddProfile(profile);

            profile.Firstname = CreateRandomString();
            profile.Lastname  = CreateRandomString();
            await _chatServiceClient.UpdateProfile(profile.Username, profile);

            var fetchedProfile = await _chatServiceClient.GetProfile(profile.Username);

            Assert.Equal(profile, fetchedProfile);
        }
        public async Task UpdateProfile()
        {
            var username = CreateRandomUsername();
            var profile  = new UserProfile {
                Username = username, FirstName = "Georges", LastName = "Haddad", ProfilePictureId = "georgesimage"
            };
            await _chatServiceClient.AddProfile(profile);

            _profilesToCleanup.Add(profile);

            var expectedProfile = new UserProfile {
                Username = username, FirstName = "Kamil", LastName = "Nader", ProfilePictureId = "kamilimage"
            };
            await _chatServiceClient.UpdateProfile(expectedProfile);

            var updatedProfile = await _chatServiceClient.GetProfile(username);

            Assert.Equal(expectedProfile, updatedProfile);
        }