Serialize() public method

public Serialize ( ) : string
return string
        public void testDepositReversal_Full()
        {
            depositReversal depositReversal = new depositReversal();
            depositReversal.id = "theId";
            depositReversal.reportGroup = "theReportGroup";
            depositReversal.customerId = "theCustomerId";
            depositReversal.litleTxnId = "123";

            String actual = depositReversal.Serialize();
            String expected = @"
            <depositReversal id=""theId"" customerId=""theCustomerId"" reportGroup=""theReportGroup"">
            <litleTxnId>123</litleTxnId>
            </depositReversal>";
            Assert.AreEqual(expected, actual);
        }