public void ReturnNullIfSerializingNull()
        {
            Serializer <ulong?> serializer = new NullableUInt64Serializer();

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

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

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

            Assert.Equal(originalValue, deserializedValue);
        }