public void ConverterISO88591_Test()
        {
            var frame = new UserDefinedURLLinkFrame();

            frame.Description = "ABCD";
            frame.TextEncoding = TextEncodingType.ISO_8859_1;
            frame.URL = "EFGH";
            frame.Descriptor.ID = "WXXX";

            var refPayloadBytes = new byte[] {0x00, 0x41, 0x42, 0x43, 0x44, 0x00, 0x45, 0x46, 0x47, 0x48};
            var rawFrame = frame.Convert();
            Assert.AreEqual(rawFrame.ID, "WXXX");
            Assert.AreEqual(rawFrame.Payload, refPayloadBytes);
        }
        public void ConverterUTF16BE_Test()
        {
            var frame = new UserDefinedURLLinkFrame();

            frame.Description = "ABCD";
            frame.TextEncoding = Encoding.BigEndianUnicode;
            frame.URL = "EFGH";
            frame.Descriptor.ID = "WXXX";

            var refPayloadBytes = new byte[]
                                      {
                                          0x02,
                                          0x00, 0x41, 0x00, 0x42, 0x00, 0x43, 0x00, 0x44, 0x00, 0x00,
                                          0x45, 0x46, 0x47, 0x48
                                      };
            var rawFrame = frame.Convert(TagVersion.Id3V23);
            Assert.AreEqual(rawFrame.ID, "WXXX");
            Assert.AreEqual(rawFrame.Payload, refPayloadBytes);
        }