Example #1
0
 public void RegisterUser_WithValidExistingUser_ThrowException()
 {
     var userToRegister = new User
     {
         Username = "******",
         Password = "******"
     };
     var service = new DataService();
     service.RegisterUser(userToRegister, APPKEY);
 }
Example #2
0
 public void RegisterUser_WithValidNonExistingUser_ReturnsUser()
 {
     var userToRegister = new Common.Entities.User
     {
         Username = "******",
         Password = "******"
     };
     var service = new DataService();
     service.RegisterUser(userToRegister, APPKEY);
 }