public void MapResponseToRequest()
        {
            var mapper = new ApiWorkerPoolModelMapper();
            var model  = new ApiWorkerPoolResponseModel();

            model.SetProperties("A", true, "A", "A", 1);
            ApiWorkerPoolRequestModel response = mapper.MapResponseToRequest(model);

            response.IsDefault.Should().Be(true);
            response.JSON.Should().Be("A");
            response.Name.Should().Be("A");
            response.SortOrder.Should().Be(1);
        }
        public async void TestUpdate()
        {
            var model = await this.CreateRecord();

            ApiWorkerPoolModelMapper mapper = new ApiWorkerPoolModelMapper();

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

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

            await this.Cleanup();
        }