Skip to content

Commit

Permalink
Sample code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-E-angelo committed Mar 9, 2020
1 parent bf66eb4 commit 038076b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue372Tests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using ExtendedXmlSerializer.Configuration;
using ExtendedXmlSerializer.Tests.ReportedIssues.Support;
using FluentAssertions;
using System.Collections.Generic;
using Xunit;

namespace ExtendedXmlSerializer.Tests.ReportedIssues
{
public sealed class Issue372Tests
{
[Fact]
void Verify()
{
var serializer = new ConfigurationContainer().UseOptimizedNamespaces()
.EnableParameterizedContent()
.Create()
.ForTesting();
var instance = new KeyValuePair<string, object>("123", "123");
serializer.Cycle(instance).Should().BeEquivalentTo(instance);
}
}
}

0 comments on commit 038076b

Please sign in to comment.