public void CreatePrimitive_ReturnsNull_ForNullValue()
        {
            // Act
            ODataValue value = ODataPrimitiveSerializer.CreatePrimitive(null, ODataMetadataLevel.Default);

            // Assert
            Assert.Null(value);
        }
        public void CreatePrimitive_ReturnsNull_ForNullValue()
        {
            // Act
            IEdmPrimitiveTypeReference edmPrimitiveType = EdmLibHelpers.GetEdmPrimitiveTypeReferenceOrNull(typeof(int));
            ODataValue value = ODataPrimitiveSerializer.CreatePrimitive(null, edmPrimitiveType, ODataMetadataLevel.Default);

            // Assert
            Assert.Null(value);
        }