예제 #1
0
 public void ValidateUser_when_password_is_emptystring_throw_exception()
 {
     //arrange
     var mut = new UserAdminService(_provider);
     //act
     var result = mut.ValidateUser("username", "");
     //assert
     //cleanup
 }
예제 #2
0
 public void ValidateUser_when_username_is_null_throw_exception()
 {
     //arrange
     var mut = new UserAdminService(_provider);
     //act
     var result = mut.ValidateUser(null, "password");
     //assert
     //cleanup
 }