Inheritance: transactionTypeWithReportGroup
        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);
        }
        public void TestSimple()
        {
            activateReversal activateReversal = new activateReversal();
            activateReversal.id = "a";
            activateReversal.reportGroup = "b";
            activateReversal.litleTxnId = "123";

            var mock = new Mock<Communications>();

            mock.Setup(Communications => Communications.HttpPost(It.IsRegex(".*<litleTxnId>123</litleTxnId>.*", RegexOptions.Singleline), It.IsAny<Dictionary<String, String>>()))
                .Returns("<litleOnlineResponse version='8.22' response='0' message='Valid Format' xmlns='http://www.litle.com/schema'><activateReversalResponse><litleTxnId>123</litleTxnId></activateReversalResponse></litleOnlineResponse>");

            Communications mockedCommunication = mock.Object;
            litle.setCommunication(mockedCommunication);
            activateReversalResponse response = litle.ActivateReversal(activateReversal);
            Assert.AreEqual("123", response.litleTxnId);
        }
        public activateReversalResponse ActivateReversal(activateReversal activateReversal)
        {
            litleOnlineRequest request = createLitleOnlineRequest();
            request.activateReversal = activateReversal;

            litleOnlineResponse response = sendToLitle(request);
            activateReversalResponse activateReversalResponse = response.activateReversalResponse;
            return activateReversalResponse;
        }