public void ElementClass() { var instance = new ElementClass(true, "1", 2, 3); var roundtrip = instance.Roundtrip(); Assert.AreEqual(instance.Value1, roundtrip.Value1); Assert.AreEqual(instance.Value2, roundtrip.Value2); Assert.AreEqual(instance.Value3, roundtrip.Value3); Assert.AreEqual(instance.Value4, roundtrip.Value4); }