public void testUnloadReversal_Full() { unloadReversal unloadReversal = new unloadReversal(); unloadReversal.id = "theId"; unloadReversal.reportGroup = "theReportGroup"; unloadReversal.customerId = "theCustomerId"; unloadReversal.litleTxnId = "123"; String actual = unloadReversal.Serialize(); String expected = @" <unloadReversal id=""theId"" customerId=""theCustomerId"" reportGroup=""theReportGroup""> <litleTxnId>123</litleTxnId> </unloadReversal>"; Assert.AreEqual(expected, actual); }