public void Test1()
        {
            headers.Add(nameof(Token), Token);
            headers.Add(nameof(Id), Id);


            //https://christianfindlay.com/2020/05/15/c-delegates-with-ioc-containers-and-dependency-injection/



            client = new Client(new NewtonsoftSerializationAdapter(), createHttpClient: (name) => _testServerHttpClientFactory.CreateClient());



            //TODO check why the serialization does not work when the class DataResult inherits from dictionary

            CompressXmlObjectSerializationService simpleObjectSerializationHelper = new CompressXmlObjectSerializationService();
            ApiFunction restFunctionClient = new ApiFunction(client, "http://localhost/HttpDataTransferTest", headers);
            IDataResult Result             = restFunctionClient.ExecuteFunction(new DataParameters()
            {
                MemberName = "NoErrors"
            });
            var ResultValue = simpleObjectSerializationHelper.GetObjectsFromByteArray <string>(Result.ResultValue);

            Assert.AreEqual("Hello Data Transfer", ResultValue);
        }