public async void TestUpdate()
        {
            var model = await this.CreateRecord();

            ApiTenantVariableModelMapper mapper = new ApiTenantVariableModelMapper();

            UpdateResponse <ApiTenantVariableResponseModel> updateResponse = await this.Client.TenantVariableUpdateAsync(model.Id, mapper.MapResponseToRequest(model));

            updateResponse.Record.Should().NotBeNull();
            updateResponse.Success.Should().BeTrue();

            await this.Cleanup();
        }
        public void MapResponseToRequest()
        {
            var mapper = new ApiTenantVariableModelMapper();
            var model  = new ApiTenantVariableResponseModel();

            model.SetProperties("A", "A", "A", "A", "A", "A", "A");
            ApiTenantVariableRequestModel response = mapper.MapResponseToRequest(model);

            response.EnvironmentId.Should().Be("A");
            response.JSON.Should().Be("A");
            response.OwnerId.Should().Be("A");
            response.RelatedDocumentId.Should().Be("A");
            response.TenantId.Should().Be("A");
            response.VariableTemplateId.Should().Be("A");
        }
        public void CreatePatch()
        {
            var mapper = new ApiTenantVariableModelMapper();
            var model  = new ApiTenantVariableRequestModel();

            model.SetProperties("A", "A", "A", "A", "A", "A");

            JsonPatchDocument <ApiTenantVariableRequestModel> patch = mapper.CreatePatch(model);
            var response = new ApiTenantVariableRequestModel();

            patch.ApplyTo(response);
            response.EnvironmentId.Should().Be("A");
            response.JSON.Should().Be("A");
            response.OwnerId.Should().Be("A");
            response.RelatedDocumentId.Should().Be("A");
            response.TenantId.Should().Be("A");
            response.VariableTemplateId.Should().Be("A");
        }