void serialized_Type_can_be_used_as_parameter_to_a_generic_function()
        {
            string stringType = typeof(TestClass).FullName ?? throw new InvalidOperationException();
            var    type       = Type.GetType(stringType);
            var    jsonString = GetTestObjectString();

            IFooService component = new FooService();

            dynamic actual = JsonSerializer.Deserialize(jsonString, type);

            var result = component.UseGeneric(actual);

            Assert.True(result == 0);
        }