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