public void CreateTarget_ClassSource() { User user = GetFullUser(); var map = new UserToUserModelMap(); UserModel model = map.Create(user); AssertEqual(user, model); }
public void UserToUserModel_StaticMap() { var map = new UserToUserModelMap(); for (int i = 0; i < PerformanceIterations; i++) { User user = GetFullUser(); UserModel partial = map.Create(user); AssertEqual(user, partial); } }