public void UtcOffset_ExpectDeserializeInvalidStringToTimeSpan()
        {
            // arrange
            ScalarType scalar = new UtcOffsetType();

            // act
            var success = scalar.TryDeserialize("abc", out object?_);

            // assert
            Assert.False(success);
        }
        public void UtcOffset_ExpectDeserializeNullToNull()
        {
            // arrange
            ScalarType scalar = new UtcOffsetType();

            // act
            var success = scalar.TryDeserialize(null, out object?deserialized);

            // assert
            Assert.True(success);
            Assert.Null(deserialized);
        }
        public void UtcOffset_ExpectDeserializeNullableTimeSpanToTimeSpan()
        {
            // arrange
            ScalarType scalar = new UtcOffsetType();
            TimeSpan?  time   = null;

            // act
            var success = scalar.TryDeserialize(time, out object?deserialized);

            // assert
            Assert.True(success);
            Assert.Null(deserialized);
        }