public ODataSingletonDeserializerTest()
        {
            EdmModel model        = new EdmModel();
            var      employeeType = new EdmEntityType("NS", "Employee");

            employeeType.AddStructuralProperty("EmployeeId", EdmPrimitiveTypeKind.Int32);
            employeeType.AddStructuralProperty("EmployeeName", EdmPrimitiveTypeKind.String);
            model.AddElement(employeeType);

            EdmEntityContainer defaultContainer = new EdmEntityContainer("NS", "Default");

            model.AddElement(defaultContainer);

            _singleton = new EdmSingleton(defaultContainer, "CEO", employeeType);
            defaultContainer.AddElement(_singleton);

            model.SetAnnotationValue <ClrTypeAnnotation>(employeeType, new ClrTypeAnnotation(typeof(EmployeeModel)));

            _edmModel = model;

            _readContext = new ODataDeserializerContext
            {
                Path         = new ODataPath(new SingletonSegment(_singleton)),
                Model        = _edmModel,
                ResourceType = typeof(EmployeeModel)
            };

            _deserializerProvider = DeserializationServiceProviderHelper.GetServiceProvider().GetRequiredService <ODataDeserializerProvider>();
        }
        static ODataActionPayloadDeserializerTest()
        {
            _model     = GetModel();
            _container = _model.EntityContainer;

            _deserializerProvider = DeserializationServiceProviderHelper.GetServiceProvider().GetRequiredService <ODataDeserializerProvider>();
            _deserializer         = new ODataActionPayloadDeserializer(_deserializerProvider);
        }