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); }
public override RussiaAndCISView toView(RussiaAndCIS obj) { return(RussiaAndCISViewFactory.Create(obj)); }
public override RussiaAndCIS toObject(RussiaAndCISView view) { return(RussiaAndCISViewFactory.Create(view)); }