예제 #1
0
 protected override void EstablishContext()
 {
     base.EstablishContext();
     Name        = "Name";
     Password    = "******";
     NewPassword = "******";
     UsersRunner.Setup(r => r.ChangePassword(Name, Password, NewPassword)).Returns(true);
 }
예제 #2
0
 protected override void EstablishContext()
 {
     base.EstablishContext();
     Name     = "Name";
     Password = "******";
     User     = new User();
     UsersRunner.Setup(r => r.LogOn(Name, Password)).Returns(User);
 }