public async Task UpdateSolutionTagAsync_ValidParameters_ExpectedResult()
        {
            UpdateTagRequest req = new UpdateTagRequest()
            {
                Value = "testvalue"
            };

            IUKFastECloudClient client = Substitute.For <IUKFastECloudClient>();

            client.PatchAsync <Tag>("/ecloud/v1/solutions/123/tags/testkey").Returns(new Tag()
            {
                Value = "testvalue"
            });

            var ops = new SolutionTagOperations <Tag>(client);
            await ops.UpdateSolutionTagAsync(123, "testkey", req);

            await client.Received().PatchAsync("/ecloud/v1/solutions/123/tags/testkey", req);
        }
        public async Task UpdateSolutionTagAsync_InvalidTagKey_ThrowsUKFastClientValidationException()
        {
            var ops = new SolutionTagOperations <Tag>(null);

            await Assert.ThrowsExceptionAsync <UKFastClientValidationException>(() => ops.UpdateSolutionTagAsync(123, "", null));
        }