public void CreateViewTest() { var data = GetRandom.Object <EuropeData>(); var view = EuropeViewFactory.Create(new Europe(data)); testArePropertyValuesEqual(view, data); }
public void CreateObjectTest() { var view = GetRandom.Object <EuropeView>(); var data = EuropeViewFactory.Create(view).Data; testArePropertyValuesEqual(view, data); }
public override EuropeView toView(Europe obj) { return(EuropeViewFactory.Create(obj)); }
public override Europe toObject(EuropeView view) { return(EuropeViewFactory.Create(view)); }