public void CreateViewTest() { var data = GetRandom.Object <AustraliaData>(); var view = AustraliaViewFactory.Create(new Australia(data)); testArePropertyValuesEqual(view, data); }
public void CreateObjectTest() { var view = GetRandom.Object <AustraliaView>(); var data = AustraliaViewFactory.Create(view).Data; testArePropertyValuesEqual(view, data); }
public override AustraliaView toView(Australia obj) { return(AustraliaViewFactory.Create(obj)); }
public override Australia toObject(AustraliaView view) { return(AustraliaViewFactory.Create(view)); }