public void ReturnNullIfSerializingNull()
        {
            Serializer <sbyte?> serializer = new NullableSByteSerializer();

            byte[] actualSerializedValue = serializer.Serialize(null);

            Assert.Null(actualSerializedValue);
        }
        public void SerializeAndDeserializeToTheSameObject(sbyte?originalValue)
        {
            Serializer <sbyte?> serializer = new NullableSByteSerializer();

            byte[] serializedValue   = serializer.Serialize(originalValue);
            sbyte? deserializedValue = serializer.Deserialize(serializedValue);

            Assert.Equal(originalValue, deserializedValue);
        }