public void TestUpdateAddOn_OnlyRequired()
        {
            var uao = new UpdateAddOn {AddOnCode = "1"};

            string actual = uao.Serialize();
            const string expected = @"
            <addOnCode>1</addOnCode>";
            Assert.AreEqual(expected, actual);
        }
        public void TestUpdateAddOn_Full()
        {
            var uao = new UpdateAddOn
            {
                AddOnCode = "1",
                Name = "addOn1",
                Amount = 100,
                StartDate = new DateTime(2013, 9, 5),
                EndDate = new DateTime(2013, 9, 6)
            };

            string actual = uao.Serialize();
            const string expected = @"
            <addOnCode>1</addOnCode>
            <name>addOn1</name>
            <amount>100</amount>
            <startDate>2013-09-05</startDate>
            <endDate>2013-09-06</endDate>";
            Assert.AreEqual(expected, actual);
        }