public void CreateViewTest() { var data = GetRandom.Object <LocationData>(); var view = LocationViewFactory.Create(new Location(data)); TestArePropertyValuesEqual(view, data); }
public void CreateObjectTest() { var view = GetRandom.Object <LocationView>(); var data = LocationViewFactory.Create(view).Data; TestArePropertyValuesEqual(view, data); }
protected internal override LocationView ToView(Location obj) { return(LocationViewFactory.Create(obj)); }
protected internal override Location ToObject(LocationView view) { return(LocationViewFactory.Create(view)); }