public void Serialize_EmptyEntryIsParsed()
        {
            var playlist = new AsxPlaylist();

            playlist.Add(new AsxItem(string.Empty));
            var cleanAsx = @"<asx />";

            var output = serializer.Serialize(playlist);

            Assert.True(output == cleanAsx);
        }
        public void Serialize_EmptyEntryIsParsed()
        {
            var playlist = new AsxPlaylist();

            playlist.Add(new AsxItem(string.Empty));
            var serializer = new AsxSerializer();

            var actual = serializer.Serialize(playlist);

            actual.Should().Be("<asx />");
        }
        public void Serialize_OnlyParamIsParsed_FooToBar()
        {
            var playlist = new AsxPlaylist();

            playlist.Add(new AsxItem(string.Empty));
            var asxItem = playlist.Items.First();

            asxItem.Tags["Foo"] = "Bar";
            var serializer = new AsxSerializer();

            var actual = serializer.Serialize(playlist);

            actual.Should().Be("<asx />");
        }
        public void Serialize_OnlyParamIsParsed_FooToBar()
        {
            var playlist = new AsxPlaylist();

            playlist.Add(new AsxItem(string.Empty));
            var asxItem = playlist.Items.First();

            asxItem.Tags["Foo"] = "Bar";

            var asxWithVersion = @"<asx />";

            var output = serializer.Serialize(playlist);

            Assert.True(output == asxWithVersion);
        }