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