public void ProcessTest()
        {
            DeliveryTimeCommand target   = new DeliveryTimeCommand();
            ShippingDetailInfo  input    = TestShippingDetailFactory.GetAirBoxShippingDetailInstance();
            ShippingDetailInfo  expected = TestShippingDetailFactory.GetAirBoxShippingDetailInstance();

            expected.DeliveryTime = 0.25;
            ShippingDetailInfo actual;

            actual = target.Execute(input);
            Assert.AreEqual(expected.DeliveryTime, actual.DeliveryTime);
        }
        public void ProcessTest()
        {
            XmlPersistantCommand target = new XmlPersistantCommand(); // TODO: Initialize to an appropriate value
            ShippingDetailInfo   input  = TestShippingDetailFactory.GetGroundBoxShippingDetailInstance();


            string  expected = String.Format("C:\\TEMP\\ShippingDetails-{0}.xml", input.Id); // TODO: Initialize to an appropriate value
            IResult actual;

            actual = target.Execute(input);
            Assert.AreEqual(expected, actual);
            Assert.IsTrue(File.Exists(actual.Message));
            Assert.IsTrue(File.ReadAllBytes(actual.Message).Length > 0);

            StreamReader reader     = new StreamReader(actual.Message);
            string       strcontent = reader.ReadToEnd();

            Console.WriteLine(strcontent);
            reader.Close();
        }