Пример #1
0
 public void AddUser(User expectedUser)
 {
     this.DataSet.Add(expectedUser);
 }
Пример #2
0
 private static User GetTestUser()
 {
     var testUser = new User
                            {
                                FirstName = "Test Firstname",
                                LastName = "Test Lastname",
                                Username = "******",
                                Email = "*****@*****.**",
                                Id = Guid.NewGuid(),
                                Profile = GetTestUserProfile()
                            };
     return testUser;
 }