public void CreateTest()
        {
            var frame = new MusicCDIdentifierFrame(new byte[] {0xA0, 0xB0});

            Assert.AreEqual(frame.Descriptor.Id, "MCDI");
            Assert.AreEqual(frame.Toc.Count, 2);
            Assert.AreEqual(frame.Toc[0], 0xA0);
            Assert.AreEqual(frame.Toc[1], 0xB0);
        }
        public void ConvertTest()
        {
            var refBytes = new byte[] {0x41, 0x42, 0x43, 0x44};

            var idFrame = new MusicCDIdentifierFrame();
            idFrame.SetToc(refBytes);
            idFrame.Descriptor.Id = "MCDI";

            RawFrame rawFrame = idFrame.Convert(TagVersion.Id3V23);
            Assert.AreEqual(rawFrame.Id, "MCDI");
            Assert.IsTrue(ComparePayload(rawFrame.Payload, refBytes));
        }