public void testLoadReversal_Full() { var loadReversal = new LoadReversal { ID = "theId", ReportGroup = "theReportGroup", CustomerId = "theCustomerId", LitleTxnId = "123" }; string actual = loadReversal.Serialize(); const string expected = @" <loadReversal id=""theId"" customerId=""theCustomerId"" reportGroup=""theReportGroup""> <litleTxnId>123</litleTxnId> </loadReversal>"; Assert.AreEqual(expected, actual); }