public void CreateViewTest() { var data = GetRandom.Object <ParticipantData>(); var view = ParticipantViewFactory.Create(new SportClub.Domain.Participant.Participant(data)); TestArePropertyValuesEqual(view, data); }
public void CreateObjectTest() { var view = GetRandom.Object <ParticipantView>(); var data = ParticipantViewFactory.Create(view).Data; TestArePropertyValuesEqual(view, data); }