public void CreateViewTest()
        {
            var data = GetRandom.Object <RussiaAndCISData>();
            var view = RussiaAndCISViewFactory.Create(new RussiaAndCIS(data));

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

            testArePropertyValuesEqual(view, data);
        }
Exemple #3
0
 public override RussiaAndCISView toView(RussiaAndCIS obj)
 {
     return(RussiaAndCISViewFactory.Create(obj));
 }
Exemple #4
0
 public override RussiaAndCIS toObject(RussiaAndCISView view)
 {
     return(RussiaAndCISViewFactory.Create(view));
 }