We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf66eb4 + 038076b commit b9ff51dCopy full SHA for b9ff51d
test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue372Tests.cs
@@ -0,0 +1,22 @@
1
+using ExtendedXmlSerializer.Configuration;
2
+using ExtendedXmlSerializer.Tests.ReportedIssues.Support;
3
+using FluentAssertions;
4
+using System.Collections.Generic;
5
+using Xunit;
6
+
7
+namespace ExtendedXmlSerializer.Tests.ReportedIssues
8
+{
9
+ public sealed class Issue372Tests
10
+ {
11
+ [Fact]
12
+ void Verify()
13
14
+ var serializer = new ConfigurationContainer().UseOptimizedNamespaces()
15
+ .EnableParameterizedContent()
16
+ .Create()
17
+ .ForTesting();
18
+ var instance = new KeyValuePair<string, object>("123", "123");
19
+ serializer.Cycle(instance).Should().BeEquivalentTo(instance);
20
+ }
21
22
+}
0 commit comments