GetUser() 공개 메소드

public GetUser ( string id ) : IUser
id string
리턴 IUser
 public void TestGetUser()
 {
     _authorizationService = new AbilityAuthorizationService(new UserRepository(), new RoleRepository(), new AbilityRepository());
     _authorizationService.AddUser(_user1);
     _authorizationService.AddUser(_user2);
     IUser user = _authorizationService.GetUser("User1");
     Assert.AreEqual(user, _user1);
 }