public void testDeactivate_OnlyRequired()
        {
            var deactivate = new Deactivate
            {
                OrderId = "12345",
                OrderSource = OrderSourceType.Ecommerce,
                Card = new CardType(),
                ID = "theId",
                ReportGroup = "theReportGroup"
            };

            string actual = deactivate.Serialize();
            const string expected = @"
            <deactivate id=""theId"" reportGroup=""theReportGroup"">
            <orderId>12345</orderId>
            <orderSource>ecommerce</orderSource>
            <card>
            <type>MC</type>
            </card>
            </deactivate>";
            Assert.AreEqual(expected, actual);
        }
        public void testDeactivate()
        {
            Deactivate deactivate = new Deactivate();
            deactivate.OrderSource = OrderSourceType.Ecommerce;
            deactivate.Card = new CardType();

            batchRequest.AddDeactivate(deactivate);

            Assert.AreEqual(1, batchRequest.GetNumDeactivates());

            mockLitleFile.Verify(litleFile => litleFile.CreateRandomFile(It.IsAny<String>(), It.IsAny<String>(), It.IsAny<String>(), mockLitleTime.Object));
            mockLitleFile.Verify(litleFile => litleFile.AppendLineToFile(mockFilePath, deactivate.Serialize()));
        }