Exemplo n.º 1
0
        public void CreateViewTest()
        {
            var data = GetRandom.Object <PassengerData>();
            var view = PassengerViewFactory.Create(new global::Airport.Domain.Passenger.Passenger(data));

            TestArePropertyValuesEqual(view, data);
        }
Exemplo n.º 2
0
        public void CreateObjectTest()
        {
            var view = GetRandom.Object <PassengerView>();
            var data = PassengerViewFactory.Create(view).Data;

            TestArePropertyValuesEqual(view, data);
        }