public void SubtypeAsSourceTest() { var expected = new SubtypeAsSourceClass { Superclass = new SubclassA(), Name = "Alice" }; var actual = Roundtrip(expected); Assert.Equal(expected.Name, actual.Name); }
public void SubtypeAsSourceTest() { var expected = new SubtypeAsSourceClass {Superclass = new SubclassA(), Name = "Alice"}; var actual = Roundtrip(expected); Assert.AreEqual(expected.Name, actual.Name); }