public void CreateViewTest()
        {
            var data = GetRandom.Object <MakeOrderData>();
            var view = MakeOrderViewFactory.Create(new MakeOrder(data));

            testArePropertyValuesEqual(view, data);
        }
        public void CreateObjectTest()
        {
            var view = GetRandom.Object <MakeOrderView>();
            var data = MakeOrderViewFactory.Create(view).Data;

            testArePropertyValuesEqual(view, data);
        }
 public override MakeOrderView toView(MakeOrder obj)
 {
     return(MakeOrderViewFactory.Create(obj));
 }
 public override MakeOrder toObject(MakeOrderView view)
 {
     return(MakeOrderViewFactory.Create(view));
 }