public void testLoad_OnlyRequired()
        {
            var load = new Load
            {
                OrderId = "12345",
                Amount = 200,
                OrderSource = OrderSourceType.Ecommerce,
                Card = new CardType(),
                ID = "theId",
                ReportGroup = "theReportGroup"
            };

            string actual = load.Serialize();
            const string expected = @"
            <load id=""theId"" reportGroup=""theReportGroup"">
            <orderId>12345</orderId>
            <amount>200</amount>
            <orderSource>ecommerce</orderSource>
            <card>
            <type>MC</type>
            </card>
            </load>";
            Assert.AreEqual(expected, actual);
        }
        public void testLoad()
        {
            Load load = new Load();
            load.Amount = 600;
            load.OrderSource = OrderSourceType.Ecommerce;
            load.Card = new CardType();

            batchRequest.AddLoad(load);

            Assert.AreEqual(1, batchRequest.GetNumLoads());
            Assert.AreEqual(600, batchRequest.GetLoadAmount());

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