public async Task CreatedGroupLabelCanBeUpdated() { //arrange var createdLabel = await _sut.CreateLabelAsync(GitLabApiHelper.TestGroupId, new CreateGroupLabelRequest("Label 1") { Color = "#FFFFFF", Description = "description1" }); //act var updateRequest = UpdateGroupLabelRequest.FromNewName(createdLabel.Name, "Label 11"); updateRequest.Color = "#000000"; updateRequest.Description = "description11"; var updatedLabel = await _sut.UpdateLabelAsync(GitLabApiHelper.TestGroupId, updateRequest); await _sut.DeleteLabelAsync(GitLabApiHelper.TestGroupId, updatedLabel.Name); //assert updatedLabel.Should().Match <GroupLabel>(l => l.Name == "Label 11" && l.Color == "#000000" && l.Description == "description11"); }